Add book deletion feature with admin permission control
This commit is contained in:
committed by
Aditya Chandel
parent
6f032153b8
commit
ce96fcff6d
@@ -0,0 +1,6 @@
|
||||
ALTER TABLE user_permissions
|
||||
ADD COLUMN permission_delete_book BOOLEAN NOT NULL DEFAULT FALSE;
|
||||
|
||||
UPDATE user_permissions up
|
||||
SET up.permission_delete_book = TRUE
|
||||
WHERE up.permission_admin = TRUE;
|
||||
Reference in New Issue
Block a user