Compare commits

...
6 changed files with 14 additions and 4 deletions

No files matched your search

+14 -4
View File
@@ -127,15 +127,25 @@ A table wider than its container SHALL show a fade on each edge where more colum
### Requirement: Sidebar Sections
The sidebar SHALL list the work pages first, then an "Administration" section for Users, Roles, Emails, Login security, Audit log and Companies. The section SHALL be marked by a divider and a small muted label, and only the divider SHALL show in the collapsed rail. A section with no item the admin may open SHALL NOT show.
The sidebar SHALL show Dashboard first, then the labelled sections Events, Leads, Access and System, each with a fixed set and order of pages. A page not in any section SHALL appear in a final section without a label. A section SHALL be marked by a divider and a small muted label, with only the divider in the collapsed rail, and SHALL NOT show when it has no page the user may open. Every page SHALL have a distinct icon.
#### Scenario: Super admin sidebar
- **WHEN** a super admin opens the portal
- **THEN** Dashboard, Events, Event leads, Interests and Leads are listed above the "Administration" label
- **AND** Users, Roles, Emails, Login security, Audit log and Companies are listed below it
- **THEN** the sidebar shows Dashboard, then "Events" with Events and Event leads, "Leads" with Leads and Interests, "Access" with Users, Roles and Login security, and "System" with Companies, Emails and Audit log
#### Scenario: Staff without admin pages
- **WHEN** a staff user who can open only Events and Event leads opens the portal
- **THEN** the sidebar shows no "Administration" label
- **THEN** the sidebar shows only the "Events" section
- **AND** no "Leads", "Access" or "System" label
#### Scenario: Unknown page
- **WHEN** the server menu has a page that is not in the category map
- **THEN** it is listed after the System section, without a label
#### Scenario: Collapsed rail
- **WHEN** an admin collapses the sidebar to the icon rail
- **THEN** the sections are separated by dividers and no section label shows