Defines the access constraints of an application view

interface Access {
    authority?: string | string[];
    bannedRole?:
        | string
        | string[]
        | RoleAccess
        | RoleAccess[];
    group?: string | string[];
    role?:
        | string
        | string[]
        | RoleAccess
        | RoleAccess[];
    [k: string]: any;
}

Indexable

  • [k: string]: any

Properties

authority?: string | string[]
bannedRole?:
    | string
    | string[]
    | RoleAccess
    | RoleAccess[]
group?: string | string[]
role?:
    | string
    | string[]
    | RoleAccess
    | RoleAccess[]

string and Array<string> types are deprecated and support for them will be removed in a future version.

For string values the format is: .