mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
ServiceAccounts: Add token view for Service Accounts (#45013)
* fix SA creation scope * add writer action to SA fixed role * ServiceAccounts: Add token table to SA detail page * ServiceAccounts: Allow deletion of tokens from token table * refactor service account page * avoid using store for delete
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { WithAccessControlMetadata } from '@grafana/data';
|
||||
import { OrgRole } from '.';
|
||||
import { ApiKey, OrgRole } from '.';
|
||||
|
||||
export interface OrgServiceAccount {
|
||||
serviceAccountId: number;
|
||||
@@ -39,6 +39,7 @@ export interface ServiceAccountDTO extends WithAccessControlMetadata {
|
||||
export interface ServiceAccountProfileState {
|
||||
serviceAccount: ServiceAccountDTO;
|
||||
isLoading: boolean;
|
||||
tokens: ApiKey[];
|
||||
}
|
||||
|
||||
export interface ServiceAccountsState {
|
||||
|
||||
Reference in New Issue
Block a user