Customising Authorisation
Textstem's role and permission system can be extended allowing for specific authorisation rules to be applied for specific models, actions or event on model instances. For example, you may have a site with an editor role who has permission to edit pages. However, you wish the limit the editor abilities, so that an editor can only manage certan pages (such as those tagged a certain way). So do this, we create a class in the \App\Domain\Admin\Auth\
directory like this: