congress/congress/openstack/common
Aaron Rosen da4a6c3ac3 Add OpenStack policy integration bits
This patch adds the openstack policy integration bits which we can use to
enforce which congress api calls can be made by a normal tenant
vs admin tenant. Today the default policy.json defaults to requiring an
admin to make an API call. Though, for example, one could add the following
to policy.json to allow a non-admin tenant to create a data-source:

"create_data_sources": "rule:regular_user"

This patch also renames Context to RequestContext and drops some unneeded code.

Related to blueprint keystone-integration

Change-Id: I7fe17938ba6814df3679d9d9fd0ed1cd4fc3771f
2014-08-01 11:43:39 -07:00
..
middleware Add keystone support 2014-07-31 16:13:31 -07:00
__init__.py Add gettextutils from oslo 2014-06-25 16:53:50 -07:00
context.py Add keystone support 2014-07-31 16:13:31 -07:00
eventlet_backdoor.py Add oslo-incubator files for running congress-server 2014-07-15 12:47:58 -07:00
excutils.py Add run_tests.sh to congress 2014-07-15 15:11:36 -07:00
fileutils.py Add run_tests.sh to congress 2014-07-15 15:11:36 -07:00
gettextutils.py Add gettextutils from oslo 2014-06-25 16:53:50 -07:00
importutils.py Copy needed openstack.common files into congress 2014-07-08 09:21:41 -07:00
jsonutils.py Copy needed openstack.common files into congress 2014-07-08 09:21:41 -07:00
local.py Copy needed openstack.common files into congress 2014-07-08 09:21:41 -07:00
lockutils.py Add run_tests.sh to congress 2014-07-15 15:11:36 -07:00
log.py Copy needed openstack.common files into congress 2014-07-08 09:21:41 -07:00
loopingcall.py Add oslo-incubator files for running congress-server 2014-07-15 12:47:58 -07:00
policy.py Add OpenStack policy integration bits 2014-08-01 11:43:39 -07:00
service.py Add oslo-incubator files for running congress-server 2014-07-15 12:47:58 -07:00
strutils.py Copy needed openstack.common files into congress 2014-07-08 09:21:41 -07:00
systemd.py Add oslo-incubator files for running congress-server 2014-07-15 12:47:58 -07:00
threadgroup.py Add oslo-incubator files for running congress-server 2014-07-15 12:47:58 -07:00
timeutils.py Copy needed openstack.common files into congress 2014-07-08 09:21:41 -07:00