Can the current user add/remove the given role from other users?
Usage
$bool = $pagePermissions->userCanAssignRole($role);
Arguments
Name | Type(s) | Description |
---|---|---|
role | string, Role, int |
Return value
bool
PagePermissions methods and properties
API reference based on ProcessWire core version 3.0.236