I am trying to implement a node permission that is valid for all node types, but I don't see an easy/sane way to do this:
Each node type has it's own permission group and the permission definition doesn't seem to a allow a single permission to belong to multiple permission groups.
Is there any (intended) way to accomplish this short of overwriting
Each node type has it's own permission group and the permission definition doesn't seem to a allow a single permission to belong to multiple permission groups.
Is there any (intended) way to accomplish this short of overwriting
XF\Permissions\NodePermissions::isValidPermission
, XF\Permissions\NodePermissions::getFinalPerms
and XF\Permissions\NodePermissions::getFinalAnalysisPerms
(which seems ugly as the latter ones kinda would have to be overwritten completely) @Chris D @Kier @Mike ?