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;
|
||||
Reference in new issue
Block a user