mirror of
https://github.com/keycloak/keycloak.git
synced 2026-06-09 00:52:07 -04:00
Closes #23954 Co-authored-by: jackie-linz <120340761+jackie-linz@users.noreply.github.com>
This commit is contained in:
parent
e9550eb737
commit
02714d2982
1 changed files with 2 additions and 1 deletions
|
|
@ -35,10 +35,11 @@ export const FederatedUserLink = ({ user }: FederatedUserLinkProps) => {
|
|||
|
||||
if (!component) return null;
|
||||
|
||||
if (!access.hasAccess("view-realm")) return <span>{component.name}</span>;
|
||||
|
||||
return (
|
||||
<Button
|
||||
variant="link"
|
||||
isDisabled={!access.hasAccess("view-realm")}
|
||||
component={(props) => (
|
||||
<Link
|
||||
{...props}
|
||||
|
|
|
|||
Loading…
Reference in a new issue