Project

Profile

Help

Task #8182

closed

Add an `AccessPolicy.customized` field to tell if a user has customized one or not

Added by bmbouter about 3 years ago. Updated about 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:
Quarter:

Description

Problem

Developers ship a default access policy and users can customize it. At some point later developers will need to adjust the default policy, but this should only happen if a user has not already customized it. Right now it would be difficult to determine if the user customized it or not.

Solution

Add a field to AccessPolicy called customized which defaults to False. Any user change to the policy will set this to True.


Related issues

Blocked by Pulp - Task #8203: Fix all migrations to use `apps.get_model(...)` instead of directly importing the modelCLOSED - CURRENTRELEASEbmbouter

Actions

Also available in: Atom PDF