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.
INVOCATION METHOD: This function allows to perform a asynchronous remote invocation for the service "af_kernel::permission::permission_add".
|permission_id ||Permission to set to the given permission. |
|permission_id_self ||Permission to receive the given permission (permission_id). |
|usr_function ||An Asynchronous handler where the AfDalNulData value will be received. |
|usr_data ||User defined data to be passed in to the process function defined by usr_function.|
- TRUE if asynchronous request was sent to remote server (af_kernel). FALSE if there was an error while making remote service invocation.