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

LTD-6077: Update permissions and remove security grading from Recommendation #2490

Merged
merged 6 commits into from
Apr 9, 2025

Conversation

saruniitr
Copy link
Contributor

@saruniitr saruniitr commented Apr 2, 2025

Change description

OGD Recommendation flow is being updated to select multiple entities. In this case user can either select all or subset of entities and should be able to POST multiple times hence relax this permission to allow this.

FE PR is uktrade/lite-frontend#2443

Previously this permission fails if same user tries to post recommendations
again on a case but now the OGD recommendation flow is updated to
select multiple entities at a time. User may either select all or
subset of entities at a time and he will have to post multiple times
to make recommendations on all entities.

So remove this check from this permission and allow the user to post
multiple times.
@saruniitr
Copy link
Contributor Author

I am going to update this to remove security_grading from Recommendation model

Users not expected to change this field when adding their recommendation
as it further complicates grouping so removing this field.
@saruniitr saruniitr changed the title LTD-6077: Update permission to be able to POST multiple times LTD-6077: Update permissions and remove security grading from Recommendation Apr 3, 2025
Copy link
Contributor

@depsiatwal depsiatwal left a comment

Choose a reason for hiding this comment

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

lgtm

@saruniitr saruniitr merged commit 2679f2e into dev Apr 9, 2025
18 checks passed
@saruniitr saruniitr deleted the LTD-6077-select-multiple-entities branch April 9, 2025 10:59
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.

3 participants