Allow assign realm roles with query-users access. (#22097)
Fixes #22079
This commit is contained in:
parent
0dae40fc78
commit
fa5ddf97ac
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ export const AddRoleMappingModal = ({
|
|||
}: AddRoleMappingModalProps) => {
|
||||
const { t } = useTranslation(type);
|
||||
const { hasAccess } = useAccess();
|
||||
const canViewRealmRoles = hasAccess("view-realm");
|
||||
const canViewRealmRoles = hasAccess("view-realm") || hasAccess("query-users");
|
||||
|
||||
const [searchToggle, setSearchToggle] = useState(false);
|
||||
|
||||
|
|
Loading…
Reference in a new issue