Access Control

Overview

NomadPhp utilizes an role-based access control approach whereby each user is given an application defined role. Each role is placed in a tree hierarchy and inherits authorization rules below itself. Authentication rules are then assigned to each role which is checked whenever needed for proper access.

In NomadPhp, there are multiple ways to check for authorization: a direct check function, utilizing the @Nomad\Acl annotation.


Work in progress.