mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-25 16:42:34 +00:00
Allow assign realm roles with query-users access. (#22097)
Fixes #22079
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user