Actions
Story #9606
closedAs a user who manages permissions, I can reset an access policy via an API
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 111
Quarter:
Description
Motivation¶
Users can modify access policies, but sometimes they may want to reset it back to the shipped default.
Design¶
The detail view of an AccessPolicy should have a <path_to_AccessPolicy_instance>/reset/
endpoint that accepts a POST. Upon posting it should:
- Restore the default access policy
- Ensure that the customized flag is false
Updated by pulpbot almost 3 years ago
- Status changed from NEW to POST
Updated by bmbouter almost 3 years ago
- Assignee set to mdellweg
- Sprint set to Sprint 111
Added by mdellweg almost 3 years ago
Updated by mdellweg almost 3 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulpcore|259d41c8ad3e97661ea4f7e537a9694630a3b7d7.
Updated by pulpbot almost 3 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Add endpoint to reset an access policy
fixes #9606