role/audit: Give the privilege audit an explicit (non-protected) id

This commit is contained in:
Johannes Meyer 2021-03-26 16:56:19 +01:00
parent bab10899a2
commit fa2c3c8999
1 changed files with 4 additions and 1 deletions

View File

@ -237,7 +237,10 @@ class RoleController extends AuthBackendController
)); ));
$this->addControl($header); $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() public function suggestRoleMemberAction()