mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 09:20:22 +08:00
fix: exempt admins from default user group limits
This commit is contained in:
@@ -97,4 +97,5 @@ VALUES (
|
||||
INSERT OR IGNORE INTO user_group_members (group_id, user_id, created_at)
|
||||
SELECT '00000000-0000-0000-0000-000000000001', id, CAST(strftime('%s', 'now') AS INTEGER)
|
||||
FROM users
|
||||
WHERE is_deleted = 0;
|
||||
WHERE is_deleted = 0
|
||||
AND LOWER(role) <> 'admin';
|
||||
|
||||
Reference in New Issue
Block a user