-
Notifications
You must be signed in to change notification settings - Fork 535
deactivate users #7629
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
Merged
Merged
deactivate users #7629
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
1f48426
docs for disable/delete/anon, need to move to user admin section
djbrooke 2af33fd
draft code review feedback
djbrooke ecaaa9b
removing anon and documentation for remove roles API
djbrooke 1c5d632
user merge and delete cleanup, get traces #4475 #7575
pdurbin ab50ea9
Merge branch 'develop' into 4475-delete-user-api
djbrooke eafdc73
updates from draft code review
djbrooke a3b51d7
adding links from user administration
djbrooke c85691b
updates from more review
djbrooke bb03310
Update native-api.rst
djbrooke e9845c0
Update native-api.rst
djbrooke 51022aa
disable users #2419 #4475
pdurbin 5458d9d
Merge branch 'develop' into 2419-4475-7575-disable-users #4475
pdurbin 291945a
Merge branch '4475-delete-user-api' into 2419-4475-7575-disable-users…
pdurbin 0f2e74b
tweaks to API guide, docs for traces, removeRoles #4475
pdurbin 96fc087
add release note #2419 #4475
pdurbin a9a368b
implement rule on merging disabled accounts #2419 #4475
pdurbin 8a7ed7b
add new test classes: DeleteUsersIT and DisableUsersIT #2419 #4475
pdurbin ef1061e
disabled users cannot use the API #2419 #4475
pdurbin fa33eee
cleanup
pdurbin e73c43b
rename sql update script #2419 #4475
pdurbin 8f08f7b
disabled users should never get notifications #2419 #4475
pdurbin 23b8bf6
use default methods for isDisabled on User #2419 #4475
pdurbin d6e1173
run disable user command without superuser API token #2419 #4475
pdurbin 6e61841
remove password reset data with cascade #7575
pdurbin 8afbf5e
remove oauth2tokendata with a cascade #2419 #4475
pdurbin 610e9ca
merge configureSessionTimeout into setUser #2419 #4475
pdurbin 4599d86
Merge branch 'develop' into 2419-4475-7575-disable-users #2419 #4475
pdurbin 28579e2
rename SQL script #2419 #4475
pdurbin ddc4f3a
rebrand "disable users" as "deactivate users" #2419 #4475
pdurbin abb8be0
remove API token from deactivate user examples (not needed) #2419 #4475
pdurbin 3713104
fix error handing for revoke all roles (bubble up msg) #2419 #4475
pdurbin c2b7b0a
add "deactivated" to user dashboard, list-users API #2419 #4475
pdurbin 3e59e70
in session, ensure user hasn't been deleted or deactivated #2419 #4475
pdurbin 4f81fbd
prevent accounts from being merged into themselves #2419 #4475
pdurbin 9fdaf41
fix "merge into self" test #2419 #4475
pdurbin fbded77
prevent deactivated accounts from being converted to OAuth #2419 #4475
pdurbin fdc9cbe
prevent deactivated accounts from being converted to Shib #2419 #4475
pdurbin 1e985b6
Merge branch 'develop' into 2419-4475-7575-disable-users #2419 #4475
pdurbin 0efee28
exclude deactivated users from role assignment autocomplete #2419 #4475
pdurbin 4b2ac96
cleanup, add shib/oauth convert to list for admins #2419 #4475
pdurbin d0191c3
more efficient check for disabled or deleted users #2419 #4475
pdurbin 530dab3
move logic up (earlier) #2419 #4475
pdurbin df32ec0
change "non-deactivated" to "active" #2419 #4475
pdurbin 5edfa7a
Merge branch 'develop' into 2419-4475-7575-disable-users #2419 #4475
pdurbin d00d0ec
rename SQL script #2419 #4475
pdurbin 81274c9
Update DataversePage.java
scolapasta 569136f
prevent user table, user-list API from blowing up #2419 #4475
pdurbin 1f11785
Merge branch 'develop' into 2419-4475-7575-disable-users #2419 #4475
pdurbin c326af4
deactivated users cannot become superusers #2419 #4475
pdurbin 239151a
Merge branch 'develop' into 2419-4475-7575-disable-users
sekmiller 36f25bb
#2419 retest session user on save
sekmiller 274f150
#2419 update update query
sekmiller File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| ## Release Highlights | ||
|
|
||
| ### Deactivate Users API, Get User Traces API, Revoke Roles API | ||
|
|
||
| A new API has been added to deactivate users to prevent them from logging in or otherwise being active in the system. Deactivating a user is an alternative to deleting a user, especially when the latter is not possible due to the amount of interaction the user has had with the system. In order to learn more about a user before deleting, deactivating, or merging, a new "get user traces" API is available that will show objects created, roles, group memberships, and more. Finally, the "remove all roles" button available in the superuser dashboard is now also available via API. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.