SoulFire TypeScript SDK 2.10.3
    Preparing search index...

    Type Alias GlobalPermissionState

    GlobalPermissionState: Message<"soulfire.v1.GlobalPermissionState"> & {
        globalPermission: GlobalPermission;
        granted: boolean;
    }

    Represents the grant status of a single global permission for the current user. Used to communicate which server-wide permissions the authenticated user has been granted.

    Type Declaration

    • globalPermission: GlobalPermission

      The global permission being described.

      from field: soulfire.v1.GlobalPermission global_permission = 1;

    • granted: boolean

      Whether this permission has been granted to the current user. True if the user has this permission, false otherwise.

      from field: bool granted = 2;

    from message soulfire.v1.GlobalPermissionState