Project

Profile

Help

Story #9606

closed

As a user who manages permissions, I can reset an access policy via an API

Added by bmbouter almost 3 years ago. Updated almost 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
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:

  1. Restore the default access policy
  2. Ensure that the customized flag is false
Actions #1

Updated by pulpbot almost 3 years ago

  • Status changed from NEW to POST
Actions #2

Updated by bmbouter almost 3 years ago

  • Assignee set to mdellweg
  • Sprint set to Sprint 111

Added by mdellweg almost 3 years ago

Revision 259d41c8 | View on GitHub

Add endpoint to reset an access policy

fixes #9606

Actions #3

Updated by mdellweg almost 3 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #4

Updated by pulpbot almost 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF