You can replace "document_rights.xhtml" with same document, but these lines
changed:line 68-72:

<p><h:form id="block_inherit" rendered="${currentUser.administrator}">
  <h:selectBooleanCheckbox value="#{securityActions.blockRightInheritance}"
    immediate="true" onclick="this.form.submit();" />
  <h:outputText value="#{messages['label.security.block.inehritance']}" />
</h:form></p>

(add attribute rendered="${currentUser.administrator}" to the <h:form> tag)

On Thu, Aug 6, 2009 at 6:40 PM, Jesus Ibañez Calvo
<[email protected]>wrote:

> Hello Anahide and everybody!!
>
> Thanks for your response, it has been very useful and has resolved
> partially my problem, is there any way to hide this checkbox for all users
> except for the administrator?
>
> Thks. in adavnced
>
> On Thu, Aug 6, 2009 at 4:03 AM, Anahide Tchertchian <[email protected]> wrote:
>
>> Jesus Ibañez Calvo a écrit :
>>
>>> hello!!
>>>
>>> How can I hide the inherit permissions region, to all users except for
>>> administrator, in order to avoid users to block permissions from their
>>> higher levels?
>>>
>>
>> Hi,
>> You can override the nuxeo.war/incl/tabs/document_rights.xhtml template to
>> hide the checkbox.
>>
>> Regards,
>>
>> --
>> Anahide Tchertchian, Nuxeo
>> Mail: [email protected] - Tel: +33 (0)1 40 33 79 87
>> http://www.nuxeo.com - http://www.nuxeo.org
>>
>
>
>
> --
> Jesus
>
> _______________________________________________
> ECM mailing list
> [email protected]
> http://lists.nuxeo.com/mailman/listinfo/ecm
> To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
>
>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to