role/audit: Give the privilege audit an explicit (non-protected) id
This commit is contained in:
parent
bab10899a2
commit
fa2c3c8999
|
@ -237,7 +237,10 @@ class RoleController extends AuthBackendController
|
|||
));
|
||||
|
||||
$this->addControl($header);
|
||||
$this->addContent(new PrivilegeAudit($chosenRole !== null ? [$chosenRole] : $assignedRoles));
|
||||
$this->addContent(
|
||||
(new PrivilegeAudit($chosenRole !== null ? [$chosenRole] : $assignedRoles))
|
||||
->addAttributes(['id' => 'role/audit'])
|
||||
);
|
||||
}
|
||||
|
||||
public function suggestRoleMemberAction()
|
||||
|
|
Loading…
Reference in New Issue