Now that oslo.context has been bumped to >=2.6.0,
we can use `is_admin_project` from the context which
is backward compatible.
This also adds a new rule `project_admin` to make
resource types accessible inline with current policy
of other services like nova, that are yet to use the
`is_admin_project` feature. Once those services start
using the is_admin_project feature, we can remove this.
Reviewed: https:/ /review. openstack. org/333308 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=168a7797e5e 7643141d81420ae 248fbbbef6f9ef
Committed: https:/
Submitter: Jenkins
Branch: master
commit 168a7797e5e7643 141d81420ae248f bbbef6f9ef
Author: Rabi Mishra <email address hidden>
Date: Fri Jul 1 10:38:28 2016 +0530
Use is_admin_project from context
Now that oslo.context has been bumped to >=2.6.0,
we can use `is_admin_project` from the context which
is backward compatible.
This also adds a new rule `project_admin` to make admin_project` feature. Once those services start
resource types accessible inline with current policy
of other services like nova, that are yet to use the
`is_
using the is_admin_project feature, we can remove this.
Change-Id: I5be8176042f883 9e86f77984222e7 fac66dfaed6
Related-Bug: #1466694