Hi, I have followed the instructions in [url]http://documentation.magnolia-cms.com/display/DOCS/Action+definition[/url] and have defined availability for actions based on roles. That works in as far as the actions are greyed out and disabled when a user doesn't have the role.
Is there any way that I can hide the action instead? For actions based on context i.e. if there are no previous version or if the user has selected a folder, then it makes sense to disable an action as the action would potentially be available if the correct item was selected. However for role based availability there are no circumstances where a user would be able to select the item so it would make more sense to me for the item not to be shown instead. I've had a look and it seems that for actions they can be either enabled or disabled. For groups there isn't any control and for sections they can either be visible or hidden. I could then potentially create separate section definitions that are only available to my role with the relevant subset of the actions for that role. However that seems like overkill and would involve overriding significant portions of Magnolia which have hard coded the section names (e.g. PagesEditorSubApp). Is there a better way? Thanks, Peter. -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=faddd8b5-9835-458a-9229-6df62da517e8 ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com> ----------------------------------------------------------------