static NulData PermissionAdd int  permission_id,
int  permission_id_self
[static]
 

Allows to set the given permission defined by permission_id to the given permission defined by permission_id_self.

Permission mechanism inside Af-Arch allows to associate permission to each others. This allows to have permission depencies which are really useful. Thus, permissions which have a dependency relation with other permissions, sets not only its permission but also relationed permission when they are set to group and users.

Parameters:
permission_id Permission to set to the given permission.
permission_id_self Permission to receive the given permission (permission_id).