Hi Sergiu,
So, there are two options:
- tell users that they can edit page rights if they switch to "advanced"
- change menuview.vm so that the "advanced user" check is omitted
I've choosen the second option, because I want to make it transparent for the user.
I've cut out, in templates/menuview.vm, the advanced user check. But the modifications
have not worked. I've also changed the order of the edit menu options, to test, and
they were not reflected on the edit menu.
It seems that it's looking on some other vm file, or other overriding configuration.
I've also changed skin/colibri/editmenu.vm, but no success. There's other
menuview.vm on skins/colibri/menuview.vm, but on it there's no velocity code for the
edit menu.
I've refreshed the browser, cleaned the cache, but nothing. How can I succeed on it?
Regards,
Ramon Gomes Brandão
-----Prev Message-----
De: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] Em nome de Sergiu Dumitriu
Enviada em: terça-feira, 3 de agosto de 2010 21:07
Para: XWiki Users
Assunto: Re: [xwiki-users] Allow normal users to modify page access rights
On 08/03/2010 11:56 PM, Ramon Gomes Brandão - SERINT wrote:
Hi,
I want to give all users the ability to change Access Rights on the pages they create.
I've noticed that only admin group has this ability.
When a user creates a page, I would like that "Access Rights" appear on the
Editor drop down menu. This page access classification by the author is nothing but
essential on my
Xwiki instance at my corp.
How can I do that?
Any user that can edit a page can also edit the rights for that page.
There are two kinds of users, advanced and simple users. This is set
from the user's profile. For more details, see
http://platform.xwiki.org/xwiki/bin/Features/PageEditing#HSimpleandAdvanced…
Simple users have a simple edit menu, with just one entry, the default
edit mode for a document. Advanced users see the full edit menu. So,
it's not that only administrators can edit page rights, but that
administrators are by default advanced users.
So, there are two options:
- tell users that they can edit page rights if they switch to "advanced"
- change menuview.vm so that the "advanced user" check is omitted
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users