Hello everyone,
Is it possible to hide certain fields in the admin panel depending on the access level of a user?
I know "k_user_access_level" exists, but I tried this:
or without the "<cms:field>" wrapping the code
And it's not working. The group tab is hidden even as a Super admin, but its content is visible outside of the tab.
I know there's an add-on where you can hide specific pages depending on the user level, but here, I need to hide specific editable regions of the page depending on the user level.
Thank you very much!
Is it possible to hide certain fields in the admin panel depending on the access level of a user?
I know "k_user_access_level" exists, but I tried this:
- Code: Select all
<cms:field 'hide'>
<cms:if k_user_access_level ge '10' >
<cms:editable type="group" name="client_evenement" label="Volet client/évènement" collapsed="1" order="4"/>
</cms:if>
</cms:field>
or without the "<cms:field>" wrapping the code
- Code: Select all
<cms:if k_user_access_level ge '10' >
<cms:editable type="group" name="client_evenement" label="Volet client/évènement" collapsed="1" order="4"/>
</cms:if>
And it's not working. The group tab is hidden even as a Super admin, but its content is visible outside of the tab.
I know there's an add-on where you can hide specific pages depending on the user level, but here, I need to hide specific editable regions of the page depending on the user level.
Thank you very much!