-
Notifications
You must be signed in to change notification settings - Fork 531
RoleAccess auditing/history functionality #11612
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
ofahimIQSS
merged 71 commits into
IQSS:develop
from
QualitativeDataRepository:RoleAccessHistory
Oct 24, 2025
Merged
RoleAccess auditing/history functionality #11612
ofahimIQSS
merged 71 commits into
IQSS:develop
from
QualitativeDataRepository:RoleAccessHistory
Oct 24, 2025
Conversation
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 reverts commit 8f58f19.
pdurbin
approved these changes
Sep 12, 2025
Member
pdurbin
left a comment
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 didn't test the code but API tests are passing (skipped for this new feature, since it's off by default) and I'm happy with how it looks. Approved.
Contributor
|
need an update here to resolve conflicts |
Contributor
|
looks good to me - merging |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
FY26 Sprint 5
FY26 Sprint 5 (2025-08-27 - 2025-09-10)
FY26 Sprint 6
FY26 Sprint 6 (2025-09-10 - 2025-09-24)
FY26 Sprint 7
FY26 Sprint 7 (2025-09-24 - 2025-10-08)
FY26 Sprint 8
FY26 Sprint 8 (2025-10-08 - 2025-10-22)
FY26 Sprint 9
FY26 Sprint 9 (2025-10-22 - 2025-11-05)
Size: 10
A percentage of a sprint. 7 hours.
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.
What this PR does / why we need it: Tracks the history of all RoleAssignment changes on a dataset or file, making it easy to see when roles were assigned and by whom, whether a user has had permission on an item in the past, etc. The history of role assignments is available in the (JSF) UI and via API, e.g.

The API supports JSON and CSV outputs.
All three cases are handled: assignments on a collection, assignments on a dataset, assignments to one or more files in a dataset.
Which issue(s) this PR closes:
Special notes for your reviewer:
Suggestions on how to test this: Turn on the flag, assign/revoke various roles, check that the history makes sense. The displays are ordered by revocation date (unrevoked first), then assignment date. Note that either the assign or revoke dates and assigner/revoker fields can be null - the revoked ones because the assignments are active, the assign one when the assignment was made before RA history functionality was turned on.
Does this PR introduce a user interface change? If mockups are available, please link/include them here: see image above.
Is there a release notes update needed for this change?: included
Additional documentation: API and UI docs included, feature flag documented.