Commit Graph

9 Commits

Author SHA1 Message Date
Yanis Guenane
e69ec61aa6 Adding missing copy_from policy from policy.json
The current policy.json file is missing the copy_from policy in order
to be exhaustive.

DocImpact
Change-Id: Ibc0d1fa7626629c28c514514a985a6b89db2ac69
Closes-bug: #1258999
2013-12-13 12:22:15 +00:00
Yanis Guenane
ab7ea6baf7 Set upload_image policy to control data upload
There was no policy to control data upload.
Up until today, the add_image policy was a all or nothing, from metadata
to the actual data. Now, with the combination of add_image and upload_image
an administrator will have finer control over the whole chain.

Change-Id: I1a7966ffb5c63dd8239a54fe2963b031d9fe1f9a
Closes-bug: #1254521
2013-12-01 21:50:27 +00:00
iccha.sethi
d35bcee6ab Add upload policy for glance v2 api
Related to bug 1250918

There currently exists no check in set_data function for glance
api v2 in the policy layer. This patch adds upload_image policy.

DocImpact

Change-Id: Ibccc78f8bccff3baa5aca574cf17bd14c5403ca2
2013-11-25 12:42:44 +00:00
James Li
c2d3f3c802 Add a policy layer for membership APIs
Added a policy layer for the membership APIs of the domain
model.

Added following policies for membership APIs:

v1: 'get_members', 'delete_member' and 'modify_member'.

v2: 'add_member', 'get_member', 'modify_member',
'get_members' and 'delete_member'.

Implements blueprint membership-policy

Change-Id: I0d5782d1d9b7b8a563a689fcb192958ab3fea0f4
2013-05-30 21:08:18 +00:00
annegentle
a2b9bed75d Updates OpenStack LLC with OpenStack Foundation
Patchset addresses reviewer's comments, rebase against master,
and follows new guidance from Foundation:
http://wiki.openstack.org/Documentation/Copyright

Change-Id: I94367461505778973528eb8835d991f4fb796dab
2013-02-17 19:19:43 -08:00
Brian Waldon
087046b4e6 Clean up policies docs page
Related to bp glance-folsom-docs-cleanup

Change-Id: I65cd8e9e34ce25cbf0b45900fc73df1ffb03c7ef
2012-08-22 19:04:49 -07:00
Alex Meade
75339f4712 Add policy check for downloading image.
This patch adds a policy, 'download_image', to be enforced when image data is
retrieved. It also does some basic refactoring of how policies are enforced.

Fixes bug 1038086

Change-Id: Idd844b615d362eae3197e106067c29dba8e3eeda
2012-08-21 16:38:10 -04:00
Brian Waldon
17397a9ce7 Add 'publicize_image' policy
* Allow deployers apply RBAC rules to setting the is_public image attribute to True
* Add docs for publicize_image and manage_image_cache policies
* Fixes bug 960261

Change-Id: I100a6c93377617cc0e774b6ee3a69e857a05c260
2012-03-20 08:35:46 -07:00
Jay Pipes
180ae8964d Adds documentation for policy files.
Implements interim-glance-authz-service

Change-Id: Ifefa4174aa45a29fd58ab40c74b5eaf6fecb4f83
2012-01-24 21:19:26 -05:00