SoulFire TypeScript SDK 2.10.3
    Preparing search index...

    Enumeration GlobalPermission

    Server-wide permissions that apply globally across all instances. These permissions control access to server administration, user management, and self-service operations. Checked via the PermissionContext.global() method. ADMIN role users have all global permissions by default.

    from enum soulfire.v1.GlobalPermission

    Index
    CREATE_INSTANCE: 0

    Permission to create new SoulFire instances. Required by InstanceService.CreateInstance RPC.

    from enum value: CREATE_INSTANCE = 0;

    CREATE_USER: 5

    Permission to create new user accounts. Required by UserService.CreateUser RPC.

    from enum value: CREATE_USER = 5;

    DELETE_USER: 8

    Permission to delete user accounts. Required by UserService.DeleteUser RPC.

    from enum value: DELETE_USER = 8;

    GENERATE_API_TOKEN: 16

    Permission to generate API tokens for other users. Required by UserService.GenerateUserAPIToken RPC.

    from enum value: GENERATE_API_TOKEN = 16;

    GENERATE_SELF_API_TOKEN: 15

    Permission to generate an API token for oneself. Required by ClientService.GenerateAPIToken RPC. API tokens can be used for programmatic access.

    from enum value: GENERATE_SELF_API_TOKEN = 15;

    GENERATE_SELF_WEBDAV_TOKEN: 12

    Permission to generate a WebDAV authentication token for oneself. Required by ClientService.GenerateWebDAVToken RPC. WebDAV tokens provide file system access to instance data.

    from enum value: GENERATE_SELF_WEBDAV_TOKEN = 12;

    GLOBAL_COMMAND_EXECUTION: 9

    Permission to execute commands at the global/server level. Required by CommandService for server-wide command execution.

    from enum value: GLOBAL_COMMAND_EXECUTION = 9;

    GLOBAL_SUBSCRIBE_LOGS: 1

    Permission to subscribe to server-wide log streams. Allows receiving logs from all instances and system components.

    from enum value: GLOBAL_SUBSCRIBE_LOGS = 1;

    INVALIDATE_SELF_SESSIONS: 17

    Permission to invalidate one's own sessions. Required by ClientService.InvalidateSelfSessions RPC. Logs the user out of all devices.

    from enum value: INVALIDATE_SELF_SESSIONS = 17;

    INVALIDATE_SESSIONS: 11

    Permission to invalidate sessions for other users. Required by UserService.InvalidateSessions RPC. Forces other users to re-authenticate.

    from enum value: INVALIDATE_SESSIONS = 11;

    READ_CLIENT_DATA: 2

    Permission to read the authenticated user's own client data. Required by ClientService.GetClientData RPC. Returns user profile, permissions, and server information.

    from enum value: READ_CLIENT_DATA = 2;

    READ_SERVER_CONFIG: 3

    Permission to read the server configuration. Required by ServerService.GetServerInfo RPC.

    from enum value: READ_SERVER_CONFIG = 3;

    READ_USER: 6

    Permission to read information about other users. Required by UserService.ListUsers and GetUserInfo RPCs.

    from enum value: READ_USER = 6;

    UPDATE_SELF_EMAIL: 14

    Permission to update one's own email address. Required by ClientService.UpdateSelfEmail RPC.

    from enum value: UPDATE_SELF_EMAIL = 14;

    UPDATE_SELF_USERNAME: 13

    Permission to update one's own username. Required by ClientService.UpdateSelfUsername RPC.

    from enum value: UPDATE_SELF_USERNAME = 13;

    UPDATE_SERVER_CONFIG: 4

    Permission to modify the server configuration. Required by ServerService.UpdateServerConfig and UpdateServerConfigEntry RPCs.

    from enum value: UPDATE_SERVER_CONFIG = 4;

    UPDATE_USER: 7

    Permission to modify other users' accounts. Required by UserService.UpdateUser RPC.

    from enum value: UPDATE_USER = 7;