AccessControl: Disable user remove and user update roles when they do not have the permissions (#43429)

* AccessControl: Disable user remove and update roles when they do not have the appropriate permissions

* AccessControl: Ensure frontend tests pass in CI
This commit is contained in:
J Guerreiro
2021-12-23 08:08:13 +00:00
committed by GitHub
parent 4c95abb269
commit 06d4cb0303
4 changed files with 8 additions and 10 deletions

View File

@@ -1,7 +1,6 @@
import { OrgRole } from '.';
import { SelectableValue } from '@grafana/data';
export interface OrgUser {
import { SelectableValue, WithAccessControlMetadata } from '@grafana/data';
export interface OrgUser extends WithAccessControlMetadata {
avatarUrl: string;
email: string;
lastSeenAt: string;