Set a user's bots and workspaces in their own groups, saved at once
Take the Bots and Workspaces pickers out of the user form. A user's settings page lists what they reach in two groups, like a workspace's Bots group: each row links to its settings and can be taken away, and a select adds one, saved straight away through users/add-access and users/remove-access (setUserGrant). Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -1051,8 +1051,6 @@ export type AdminFetchParams<T extends {} = BUN_SQLITE_COBBLE_ALL_TYPEDEFS> = {
|
||||
|
||||
export type UserFormObject = BUN_SQLITE_COBBLE_USERS & {
|
||||
user_types?: UserType[];
|
||||
bot_ids?: number[];
|
||||
workspace_ids?: number[];
|
||||
password?: string;
|
||||
confirm_password?: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user