Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

[User Management] Create New User #357

Closed
adriaaaa opened this issue Apr 5, 2022 · 2 comments · Fixed by #511
Closed

[User Management] Create New User #357

adriaaaa opened this issue Apr 5, 2022 · 2 comments · Fixed by #511
Assignees
Labels
enhancement New feature or request

Comments

@adriaaaa
Copy link

adriaaaa commented Apr 5, 2022

Is your feature request related to a specific problem?

  1. Demonstrate that a Fidesops UI user can create a new user
    1.1 Required fields are: username, First and Last name, password (this will be a temporary password that the new user will be forced to reset when they first log in to the UI), and at least one privilege
  2. Given that the new user has received their correct credentials, when the user logs in for the first time, then they should be forced to set up a new password for their account
  3. Ensure that the event of creating a new user was logged somewhere (we may need to discuss where with the rest of the team)
@adriaaaa adriaaaa added the enhancement New feature or request label Apr 5, 2022
@LKCSmith LKCSmith self-assigned this Apr 8, 2022
@LKCSmith
Copy link
Contributor

LKCSmith commented Apr 8, 2022

Clarifying questions:

  1. How is the piece for a user to change their password on their first login connected to the BE to validate it is the correct person logging in, that it is their first time logging in, and that this is the correct user changing those credentials/posting them to the BE? Are their flags on the backend to validate the above + make sure it is their first time logging in themselves?
  2. Can a non-management user view their own profile? Can they make changes in a similar way once logged-in to their own information? Is it limited what they can edit (for example, could a user who didn't provision themselves edit their own privileges?)
  3. What is the landing page for a non-management user?

Elements:

  1. Add New User button
  2. New User view to enter information for a user
  3. Cancel/Save buttons
  4. Validation that all fields are entered
  5. Interactive breadcrumbs
  6. User created notification on save
  7. User added to table
  8. On sign-in for first time, view to update password information

@adriaaaa
Copy link
Author

adriaaaa commented Apr 8, 2022

  1. How is the piece for a user to change their password on their first login connected to the BE to validate it is the correct person logging in, that it is their first time logging in, and that this is the correct user changing those credentials/posting them to the BE? Are their flags on the backend to validate the above + make sure it is their first time logging in themselves?

This would all need to be built.

2. Can a non-management user view their own profile? Can they make changes in a similar way once logged-in to their own information? Is it limited what they can edit (for example, could a user who didn't provision themselves edit their own privileges?)

Every user should be able to view their own profile from the little person icon in the upper right hand side of the screen. They should be able to edit their name and reset their password from that page, but should not be able to edit their privileges from that page.

If a user has the "user management" privileges, they should be able to see that menu option in the UI and select it to go to the user search page. They should be able to edit all users from that area of the app, including their own user.

If a user does not have "user mangement" privileges, they should not be able to see that "User Management" menu item.

I think the above answers #3 as well?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants