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

Update permission editing on users edit page #2530

Closed
wants to merge 12 commits into from

Conversation

chrisroos
Copy link
Contributor

This application is owned by the Access & Permissions team.

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

Follow these steps if you are doing a Rails upgrade.

@chrisroos chrisroos force-pushed the move-permission-editing branch 6 times, most recently from a4c9f4e to 05fe065 Compare November 22, 2023 17:25
TODO: Decide whether to fold this into previous commit.

The logic in this policy applies irrespective of whether you're granting
yourself, or someone else, access to an app.
@chrisroos chrisroos force-pushed the move-permission-editing branch from 05fe065 to dc21a33 Compare November 23, 2023 12:48
TODO: Move the delete method logic to the SigninPermissionPolicy.

In preparation for moving this to the top-level of Pundit policies so
that we can use it when we introduce the ability to edit other users'
permissions.

Note the change of behaviour. A govuk admin no longer has to have access
to the app in order to be able to delete a UserApplicationPermission.
@chrisroos chrisroos force-pushed the move-permission-editing branch from dc21a33 to b8b73e8 Compare November 23, 2023 12:52
@chrisroos chrisroos force-pushed the move-permission-editing branch from b8b73e8 to 0252417 Compare November 23, 2023 13:04
@chrisroos
Copy link
Contributor Author

Closing as we're trying a slightly different approach in #2558.

@chrisroos chrisroos closed this Nov 29, 2023
@chrisroos chrisroos deleted the move-permission-editing branch January 3, 2024 12:41
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