Changes between Version 3 and Version 4 of ExistingAdmin


Ignore:
Timestamp:
08/24/26 16:29:05 (13 days ago)
Author:
211099
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ExistingAdmin

    v3 v4  
    1 == Admin Registration(Existing Admin)
     1==  Admin Registration(Existing Admin)
    22
    33=== Actor: **Admin**
     4
    45An existing admin promotes an already registered user to admin role, granting them full read-write access to the entire system.
    56
    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.
    78
    8 **2.**  The system displays a list of all registered users.
     9**2.** The system displays a list of all registered users.
    910{{{#!sql
    1011SELECT user_id, username, email, user_name, surname
     
    2122}}}
    2223
    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.
    2425{{{#!sql
    2526INSERT 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);
     27VALUES ('You have been granted admin privileges on the platform.', 'admin_promotion', FALSE, 1, NULL, CURRENT_TIMESTAMP);
    2728}}}