purge-props does not honor property protections

Bug #1356519 reported by Michael Turek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Invalid
Undecided
Michael Turek

Bug Description

When removing all properties of an image using --purge-props, protected properties are also removed. I saw this behavior using v1 glance-client and v1 api. The documentation for protected properties states:

"Property protections will still be honoured if 'X-glance-registry-Purge-props' is set to 'True'. That is, if you request to modify properties with this header set to `True`, you will not be able to delete or update properties for which you do not have the relevant permissions. Properties which are not included in the request and for which you do have delete permissions will still be removed."

This does not seem to happen. My hope is to restore/create this functionality.

So far, I'm convinced that this is a glance issue rather than a glance-client issue. If it turns out to be otherwise, I will adjust the bug report accordingly.

Michael Turek (mjturek)
Changed in glance:
assignee: nobody → Michael Turek (mjturek)
Revision history for this message
Michael Turek (mjturek) wrote :

I realized I had been not been assigning the proper role to my user. The feature appears to be working properly. Updated bug status to 'Invalid'.

Changed in glance:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.