Skip to content

Remove "New User" button for non-Admins in the User page #1742

Closed

Description

@misskniss

As an Admin user, I do not want permissions for a non-admin to include the New User functionality (or in this case, a New User button that takes you to the New User form but does nothing on Submit).


Details:

Remove the New User button for Non-Admins on the Users page.
Remove New User.png

Note: there is a separate issue for access to the User's page itself for new users.

Activity

  1. added this to the Community MVP milestone on May 25, 2022
  2. BrunoQuaresma commented on May 25, 2022

    @BrunoQuaresma
    Contributor

    For who is going to take this task:

    • We have to add a new permission check in the authXService. Something like "createUser".
    • Check if the current user has the "createUser" permission and display or not the button. You can see how it is made in the UsersTable to display or not the "UpdateRole" menu.
  3. self-assigned this
    on May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

siteArea: frontend dashboard

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions