Problem
The About page never says what the current viewer is allowed to do in the project. Edit controls simply appear or don't:
- The Access settings button needs
CanManageMembers.
- The project image picker needs
CanWrite.
- Other sections are gated the same way.
A read-only member, a signed-in non-member of a public project, or a signed-out visitor sees a page with fewer controls and no explanation. They can't tell whether they lack permission or whether the feature doesn't exist.
Expected behavior
Add a new section at the top of the About page aside, above Access, e.g. titled "Your access". It shows:
- Your role, as a badge in the same style as the Access badges (TRACK-83). Roles: Owner, Member, Read-only, Not a member, or Signed out.
- A short list of what you can and can't do in this project, each item with a check or lock icon:
- View the project and its issues
- Create issues
- Edit issues and project details
- Manage access and settings
- Delete the project
- Where it helps, a hint about how to get more access. For example, a signed-out visitor to a project with public issue creation sees "Sign in to create issues".
Acceptance criteria
- The box is built from the same permission checks the server enforces: the existing
uiProjectPanelData flags (Anonymous, CanWrite, CanCreateIssues, CanManageMembers, CanDeleteProject) and the member role (model.ProjectMemberRole: member / readonly). It must never claim a permission the server would reject, or hide one it would allow.
- Each viewer type gets the correct role and permission list:
- owner
- member
- read-only member
- signed-in non-member of a public project, with public issue creation on and off
- signed-out visitor to a public project
- Icons are
aria-hidden, and each item's allowed/denied state is conveyed in text for screen readers.
- Works on mobile and in light and dark modes.
- Tests cover every viewer type listed above.
Notes
The alternative considered was a padlock in the top-right corner of each section the viewer can't edit, with a hover tooltip explaining their permissions. A single summary box above Access was preferred.
Related
TRACK-83 restyles the Access section directly below this box.