/** * Add a permission to the provided role. * * @param Role $role Role to be updated * @param Permission $permission Permission to be added * @throws \RBAC\Exception\ValidationError * @return bool Add success status */ public function rolePermissionAdd(Role $role, Permission $permission) { return $this->storage->rolePermissionAdd($role, $permission); }