If somebody used hooks to create a new permission role, there was no mechanism to insert the new role into the dropdown list of roles at selection time.
This commit is contained in:
@@ -308,6 +308,8 @@ class PermissionRoles {
|
||||
]
|
||||
];
|
||||
|
||||
call_hooks('list_permission_roles',$roles);
|
||||
|
||||
return $roles;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user