mirror of https://github.com/abpframework/abp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
778 B
32 lines
778 B
export declare namespace PermissionManagement {
|
|
interface State {
|
|
permissionRes: Response;
|
|
}
|
|
interface Response {
|
|
entityDisplayName: string;
|
|
groups: Group[];
|
|
}
|
|
interface Group {
|
|
name: string;
|
|
displayName: string;
|
|
permissions: Permission[];
|
|
}
|
|
interface MinimumPermission {
|
|
name: string;
|
|
isGranted: boolean;
|
|
}
|
|
interface Permission extends MinimumPermission {
|
|
displayName: string;
|
|
parentName: string;
|
|
allowedProviders: string[];
|
|
grantedProviders: GrantedProvider[];
|
|
}
|
|
interface GrantedProvider {
|
|
providerName: string;
|
|
providerKey: string;
|
|
}
|
|
interface UpdateRequest {
|
|
permissions: MinimumPermission[];
|
|
}
|
|
}
|