mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
ServiceAccounts: Lock role picker for external service accounts (#79727)
This commit is contained in:
parent
5fd5a8e385
commit
e7bc913dfd
@ -31,7 +31,7 @@ export const ServiceAccountRoleRow = ({ label, serviceAccount, roleOptions, onRo
|
||||
onBasicRoleChange={onRoleChange}
|
||||
roleOptions={roleOptions}
|
||||
basicRoleDisabled={!canUpdateRole}
|
||||
disabled={serviceAccount.isDisabled}
|
||||
disabled={serviceAccount.isExternal || serviceAccount.isDisabled}
|
||||
/>
|
||||
</td>
|
||||
) : (
|
||||
|
@ -83,7 +83,7 @@ const ServiceAccountListItemComponent = memo(
|
||||
onBasicRoleChange={(newRole) => onRoleChange(newRole, serviceAccount)}
|
||||
roleOptions={roleOptions}
|
||||
basicRoleDisabled={!canUpdateRole}
|
||||
disabled={serviceAccount.isDisabled}
|
||||
disabled={serviceAccount.isExternal || serviceAccount.isDisabled}
|
||||
width={40}
|
||||
/>
|
||||
)}
|
||||
|
Loading…
Reference in New Issue
Block a user