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

Refactor assessor policies #1855

Merged
merged 16 commits into from
Dec 12, 2023
Merged

Refactor assessor policies #1855

merged 16 commits into from
Dec 12, 2023

Conversation

thomasleese
Copy link
Contributor

This refactors the policies used in the assessor interface to have bespoke policies for each kind of controller/model allowing better flexibility as we've got more permissions now and as we build the new verification journeys.

Copy link

github-actions bot commented Dec 7, 2023

This fixes the name of the shared example so it reads better.
This adds more methods to the policy to match the controller.
This improves the code by reducing duplication.
This adds a new policy for assessment sections.
This uses the new shared examples and reduces duplication in the code.
This adds a policy for the assessor and reviewer assignment controllers.
This captures the logic related to the further information controller.
This makes it specific to the controller as it was only used in one
place.
This uses the new shared examples.
This refactors how we handle permissions for qualification requests in
preparation for the new verification journey.
This adds a new policy for verifying reference requests.
This has been moved in to the assessment controller and uses the same
policy.
This has been moved in to the application form controller and uses the
same policy.
To use the application form policy.
This uses the shared examples in the tests.
It's no longer used anywhere.
Copy link
Contributor

@syed87 syed87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

@thomasleese thomasleese merged commit 7101bf5 into main Dec 12, 2023
12 checks passed
@thomasleese thomasleese deleted the refactor-policies branch December 12, 2023 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants