pub fn codename(resource: &AdminResource, action: Action) -> StringExpand description
Build the canonical codename for (resource, action). Always
{prefix}.{action_str} — e.g. cms_page.view,
cms_library_item__author.edit.
pub fn codename(resource: &AdminResource, action: Action) -> StringBuild the canonical codename for (resource, action). Always
{prefix}.{action_str} — e.g. cms_page.view,
cms_library_item__author.edit.