As an admin, I need to add new users to the system so that they can access the organization's resources.
Acceptance Criteria:
• The admin can navigate to the "User Management" section from the settings page.
• The admin can click on the "Add new" button to open a form for adding a new user.
• The form includes fields for the user's name, email, role, and status.
• The admin can select the user's role from a dropdown menu.
• The admin can save the new user by clicking the "Save" button.
• A success message is displayed after the user is added.
User Story 2: Remove User
As an admin, I need to remove users from the system who no longer require access.
Acceptance Criteria:
• The admin can navigate to the "User Management" section from the settings page.
• The admin can see a list of current users with their names, roles, dates added, last active dates, and statuses.
• The admin can click on a "Remove" or "Delete" button next to a user's entry.
• A confirmation dialog appears asking the admin to confirm the deletion.
• The admin can confirm the deletion by clicking "Confirm".
• The user is removed from the system, and their entry is no longer visible in the user list.
User Story 3: Manage User Roles
As an admin, I need to manage user roles so that I can assign appropriate permissions and access levels.
Acceptance Criteria:
• The admin can navigate to the "User Management" section from the settings page.
• The admin can see a list of current users with their names, roles, dates added, last active dates, and statuses.
• The admin can click on a user's role to open a dropdown menu with available roles.
• The admin can select a new role from the dropdown menu.
• The admin can save the changes by clicking the "Save" button.
• A success message is displayed after the role is updated.
User Story 4: View User Details
As an admin, I need to view user details such as their role, date added, last active date, and status.
Acceptance Criteria:
• The admin can navigate to the "User Management" section from the settings page.
• The admin can see a list of current users with their names, roles, dates added, last active dates, and statuses.
• The user details are displayed accurately and are easily accessible.
User Story 5: Search for Users
As an admin, I need to search for users by name or email so that I can quickly find specific users.
Acceptance Criteria:
• The admin can navigate to the "User Management" section from the settings page.
• The admin can enter a search term in a search bar located within the user list.
• The system filters the user list to display only the users that match the search term.
• The search results update in real-time as the admin types.
https://www.figma.com/proto/WoirximBPom3gqLmFhpoxK/SusDev-OS?node-id=1687-5043&t=x96CXw8I0CjSCxa7-0&scaling=scale-down&page-id=12%3A355&starting-point-node-id=1358%3A4347
User Story 1: Add New User
As an admin, I need to add new users to the system so that they can access the organization's resources.
Acceptance Criteria:
• The admin can navigate to the "User Management" section from the settings page. • The admin can click on the "Add new" button to open a form for adding a new user. • The form includes fields for the user's name, email, role, and status. • The admin can select the user's role from a dropdown menu. • The admin can save the new user by clicking the "Save" button. • A success message is displayed after the user is added.
User Story 2: Remove User
As an admin, I need to remove users from the system who no longer require access.
Acceptance Criteria:
• The admin can navigate to the "User Management" section from the settings page. • The admin can see a list of current users with their names, roles, dates added, last active dates, and statuses. • The admin can click on a "Remove" or "Delete" button next to a user's entry. • A confirmation dialog appears asking the admin to confirm the deletion. • The admin can confirm the deletion by clicking "Confirm". • The user is removed from the system, and their entry is no longer visible in the user list.
User Story 3: Manage User Roles
As an admin, I need to manage user roles so that I can assign appropriate permissions and access levels.
Acceptance Criteria:
• The admin can navigate to the "User Management" section from the settings page. • The admin can see a list of current users with their names, roles, dates added, last active dates, and statuses. • The admin can click on a user's role to open a dropdown menu with available roles. • The admin can select a new role from the dropdown menu. • The admin can save the changes by clicking the "Save" button. • A success message is displayed after the role is updated.
User Story 4: View User Details
As an admin, I need to view user details such as their role, date added, last active date, and status.
Acceptance Criteria:
• The admin can navigate to the "User Management" section from the settings page. • The admin can see a list of current users with their names, roles, dates added, last active dates, and statuses. • The user details are displayed accurately and are easily accessible.
User Story 5: Search for Users
As an admin, I need to search for users by name or email so that I can quickly find specific users.
Acceptance Criteria:
• The admin can navigate to the "User Management" section from the settings page. • The admin can enter a search term in a search bar located within the user list. • The system filters the user list to display only the users that match the search term. • The search results update in real-time as the admin types.