Skip to content
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

Admin endpoint and initial permissions integration tests #485

Merged
merged 3 commits into from
Jan 10, 2025

Conversation

theorm
Copy link
Member

@theorm theorm commented Jan 10, 2025

Added an admin endpoint (only enabled in development environment) that reports the possible content and user permissions available in Solr and the database. The same code is used in a new permissions integration test that goes through all possible combinations of permissions and verifies that fields have been redacted or not redacted according to the permissions and the policy. The integration test only has one aspect tested at the moment. The rest of the aspects are coming in the other PR.
There are some changes in the other integration tests that are there just to allow the tests to be discovered without errors. Many of these tests need to be updated because they are failing due to various reaosons. This will be done separately.

@theorm theorm merged commit 2d5d21f into develop Jan 10, 2025
1 check passed
@theorm theorm deleted the feature/admin-endpoint branch January 10, 2025 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant