-
Notifications
You must be signed in to change notification settings - Fork 41
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
Allow enabling/disabling of users #494
Conversation
Generated by E2E-Test |
2a6e3f5
to
beef86e
Compare
3458103
to
4b32e98
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've reviewed the API code only.
api/src/service/domain/organization/user_password_change.spec.ts
Outdated
Show resolved
Hide resolved
5448ecd
to
7066827
Compare
495578a
to
c17d8cd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
notifications are not working anymore e.g. on users page
user create button is missing correct styles
make sure data-test props are written in snake case
229ca45
to
fa83af5
Compare
Added conditional check in API to ensure that the user belongs to the right organization
This endpoints will revoke or grant the user.authenticate permission. If a user gets disabled, the user is not allowed to be assigned to any project/subproject/workflowitem, otherwise an error-message with information about these assignments is thrown. With disabling or enabling, all permissions of the users remain unaffected except 'user.authenticate'. Resolves #241
Users can now be disabled and enabled at the /users site. If an user gets disabled, this user dissappears everywhere except the 'DISABLED USERS' tab. Before disabling an user, this user has to be unassigned from all project/subproject/workflowitem. If the user is still assigned to an project/subproject/workflowitem, the snackbar shows up with an error message. Resolves #241
46b2c65
to
23fc7c3
Compare
23fc7c3
to
4b47423
Compare
Closes #241