SoulFire TypeScript SDK 2.10.3
    Preparing search index...

    Type Alias UserPluginPermissionGrant

    UserPluginPermissionGrant: Message<"soulfire.v1.UserPluginPermissionGrant"> & {
        active: boolean;
        createdAt?: Timestamp;
        granted: boolean;
        permissionId: string;
        resourceId?: string;
        scope: PluginPermissionScope;
        updatedAt?: Timestamp;
        userId: string;
    }

    An explicit user-level override for a dynamically registered plugin permission. Records remain persisted when a plugin is absent so reinstalling a plugin cannot silently change the meaning of an existing grant.

    Type Declaration

    • active: boolean

      False when the owning plugin is not currently installed.

      from field: bool active = 6;

    • OptionalcreatedAt?: Timestamp

      from field: google.protobuf.Timestamp created_at = 7;

    • granted: boolean

      True grants and false explicitly denies the permission.

      from field: bool granted = 5;

    • permissionId: string

      from field: string permission_id = 2;

    • OptionalresourceId?: string

      Empty only for global permissions. Instance, bot, and task permissions use the corresponding resource UUID.

      from field: optional string resource_id = 4;

    • scope: PluginPermissionScope

      from field: soulfire.v1.PluginPermissionScope scope = 3;

    • OptionalupdatedAt?: Timestamp

      from field: google.protobuf.Timestamp updated_at = 8;

    • userId: string

      from field: string user_id = 1;

    from message soulfire.v1.UserPluginPermissionGrant