Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a page to display information about a user #582

Open
marien-probesys opened this issue Feb 19, 2024 · 0 comments
Open

Add a page to display information about a user #582

marien-probesys opened this issue Feb 19, 2024 · 0 comments
Assignees
Labels
ready ✅ You can work on this! type: new Global features that aren't there yet

Comments

@marien-probesys
Copy link
Member

marien-probesys commented Feb 19, 2024

Problem

It's often that we need to have details about a user (name, email, authorizations, etc.). The list of users is pretty rough and is not accessible to agents without admin permissions.

Solution

Create a page to display information about a user and access actions on them.

Related to

#579

Specifications

  • Add a permission orga:see:users
  • Add a page (/users/:uid) to display information about a user (profile info + authorizations)
  • It must be accessible only if the current user has permission orga:see:users in the default organization of the user, or if they have permission admin:manage:users
  • It should allow to revoke a permission, but not to add a new one
  • An "Actions" menu should allow to edit the user if the current user has the permission admin:manage:users
  • In the list of users, add a link to the users' page

Control

  1. Login with a user with the orga:see:users permission (and not admin:manage:users)
  2. Access the URL of a user who is in the given organisation
  3. Check that it works and that you can see information about the user, but not their authorizations
  4. Check that you can't edit the user
  5. Login with a user with the admin:manage:users permission and navigate to the URL of the same user
  6. Check that you see their authorizations and that you can revoke them
  7. Check that you can edit the user
@marien-probesys marien-probesys added type: new Global features that aren't there yet ready ✅ You can work on this! labels Feb 19, 2024
@marien-probesys marien-probesys added this to the Version 0.8-beta milestone Feb 19, 2024
@marien-probesys marien-probesys self-assigned this Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready ✅ You can work on this! type: new Global features that aren't there yet
Projects
None yet
Development

No branches or pull requests

1 participant