Skip to content

Commit

Permalink
Revert "Update policy.json to give service role access"
Browse files Browse the repository at this point in the history
This reverts commit ec2579a.

We are not quite ready for fine grained RBAC for service
accounts.

Change-Id: I210685d7b9036abb191073d512f8a65ebff30613
Closes-Bug: 1655028
  • Loading branch information
fnordahl committed Jan 11, 2017
1 parent c59dd63 commit 2eef644
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 497 deletions.
4 changes: 0 additions & 4 deletions hooks/nova_cc_utils.py
Expand Up @@ -208,7 +208,6 @@

NOVA_CONF = '%s/nova.conf' % NOVA_CONF_DIR
NOVA_API_PASTE = '%s/api-paste.ini' % NOVA_CONF_DIR
NOVA_POLICY = '%s/policy.json' % NOVA_CONF_DIR
HAPROXY_CONF = '/etc/haproxy/haproxy.cfg'
APACHE_CONF = '/etc/apache2/sites-available/openstack_https_frontend'
APACHE_24_CONF = '/etc/apache2/sites-available/openstack_https_frontend.conf'
Expand Down Expand Up @@ -336,9 +335,6 @@ def resource_map():
database='nova_api',
ssl_dir=NOVA_CONF_DIR)
)
resource_map[NOVA_POLICY] = {
'services': resolve_services(),
'contexts': [nova_cc_context.IdentityServiceContext()]}

if console_attributes('services'):
resource_map[NOVA_CONF]['services'] += \
Expand Down

0 comments on commit 2eef644

Please sign in to comment.