I'm writing a component for which I'd like to implement some additional restrictions on actions. For example, I want administrators to be able to view user details, but restrict some sensitive information to a specific group of administrators. For this special right, I've defined an additional action core.view.sensitive
:
<action name="core.admin" title="..." description="..." />
<action name="core.view" title="..." description="..." />
<action name="core.view.sensitive" title="..." description="..." />
I'm trying to follow conventions here, but what is the purpose of the dot-notation for the action names? Is there some implicit hierarchy I'm not aware of? Do all users with the right to action core.view
, automatically also get core.view.sensitive
(or vice versa)? Of is it all just for aesthetics?