Changes between Version 3 and Version 4 of ExistingAdmin
- Timestamp:
- 08/24/26 16:29:05 (13 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ExistingAdmin
v3 v4 1 == Admin Registration(Existing Admin)1 == Admin Registration(Existing Admin) 2 2 3 3 === Actor: **Admin** 4 4 5 An existing admin promotes an already registered user to admin role, granting them full read-write access to the entire system. 5 6 6 **1.** The admin navigates to the user management section of the platform.7 **1.** The admin navigates to the user management section of the platform. 7 8 8 **2.** The system displays a list of all registered users.9 **2.** The system displays a list of all registered users. 9 10 {{{#!sql 10 11 SELECT user_id, username, email, user_name, surname … … 21 22 }}} 22 23 23 **5.** The system confirms the user has been successfully promoted to admin and sends them a notification.24 **5.** The system confirms the user has been successfully promoted to admin and sends them a notification. 24 25 {{{#!sql 25 26 INSERT INTO NOTIFICATION (notification_content, content_type, is_read, user_id, story_id, notification_created_at) 26 VALUES ('You have been granted admin privileges on the platform.', 'admin_promotion', FALSE, 1, ?, CURRENT_TIMESTAMP);27 VALUES ('You have been granted admin privileges on the platform.', 'admin_promotion', FALSE, 1, NULL, CURRENT_TIMESTAMP); 27 28 }}}
