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:
parent
46152cc56b
commit
959667c009
@ -308,6 +308,8 @@ class PermissionRoles {
|
|||||||
]
|
]
|
||||||
];
|
];
|
||||||
|
|
||||||
|
call_hooks('list_permission_roles',$roles);
|
||||||
|
|
||||||
return $roles;
|
return $roles;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user