Package PHPBoost\Member\authorization
ActionAuthorization | This class represents the authorizations for an action. It's associated to a label, a description, the bit in which flags are saved, and obviously the authorization array which is encapsulated in the RolesAuthorizations class. The bit which is used to store the authorization is 2^n where n is the number of the place you want to use. It's recommanded to begin with 1 (2^0 = 1) then 2 (2^1 = 2) then 4 (2^2 = 4) etc... |
Authorizations | This class contains only static methods, it souldn't be instantiated. |
AuthorizationsSettings | This class manages authorizations settings which deals with all the actions for which you want to restrict access. You can choose who can access to between the different roles existing in PHPBoost:
This class contains a list of |
MemberDisabledActionAuthorization | This class represents the authorizations for an action. It's associated to a label, a description, the bit in which flags are saved, and obviously the authorization array which is encapsulated in the RolesAuthorizations class. The bit which is used to store the authorization is 2^n where n is the number of the place you want to use. It's recommanded to begin with 1 (2^0 = 1) then 2 (2^1 = 2) then 4 (2^2 = 4) etc... In this class the select of Visitor and Member level is not possible. |
RolesAuthorizations | This class stores different roles which are authorized for a given action. |
VisitorDisabledActionAuthorization | This class represents the authorizations for an action. It's associated to a label, a description, the bit in which flags are saved, and obviously the authorization array which is encapsulated in the RolesAuthorizations class. The bit which is used to store the authorization is 2^n where n is the number of the place you want to use. It's recommanded to begin with 1 (2^0 = 1) then 2 (2^1 = 2) then 4 (2^2 = 4) etc... In this class the select of Visitor level is not possible. |