Prototype owner-only administrator account management
This commit is contained in:
1 parent
ac8742c829
commit
882d006b3c
24 files changed
+3438
-15
No files matched your search
@@ -0,0 +1,15 @@
|
||||
CREATE TABLE `admin_account_operations` (
|
||||
`operation_id` text PRIMARY KEY NOT NULL,
|
||||
`actor_admin_id` text NOT NULL,
|
||||
`request_hash` text NOT NULL,
|
||||
`target_admin_id` text NOT NULL,
|
||||
`action` text NOT NULL,
|
||||
`name` text NOT NULL,
|
||||
`role` text NOT NULL,
|
||||
`enabled` integer NOT NULL,
|
||||
`created_at` integer NOT NULL,
|
||||
`updated_at` integer NOT NULL,
|
||||
CONSTRAINT "admin_account_operations_action" CHECK("admin_account_operations"."action" IN ('provision','role','disable'))
|
||||
);
|
||||
--> statement-breakpoint
|
||||
ALTER TABLE `admin_audit` ADD `reason` text;
|
||||
File diff suppressed because it is too large.
Load diff
@@ -134,6 +134,13 @@
|
||||
"when": 1790640001000,
|
||||
"tag": "0018_admin_backup_downloads",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 19,
|
||||
"version": "6",
|
||||
"when": 1790682568001,
|
||||
"tag": "0019_admin_accounts",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user