nova/nova
Prashanth kumar reddy 4a09c2210b Separate CRUD policy for server_groups
The same policy rule (os_compute_api:os-server-groups) is being used
for all actions (show, index, delete, create) for server_groups REST
APIs. It is thus impossible to provide different RBAC for specific
actions based on roles. To address this changes are made to have
separate policy rules for each of action.

It has been argued that index and show may not need separate policy
rules, but most other places in nova (and OpenStack in general) do
have separate policy rules for each action. This affords the ultimate
flexibility to deployers, who can obviously use the same rule if
that is what they want. One example where show and index may be
different is that if show is restricted based on some criteria, such
that a user is able to see some resources within the tenant but not
others, then list would need to be disallowed to prevent the user
from using list to see resources they cannot show.

Change-Id: Ica9e07f6e80257902b4a0cc44b65fd6bad008bba
Closes-Bug: #1636157
2016-11-21 11:43:13 -05:00
..
CA
api Separate CRUD policy for server_groups 2016-11-21 11:43:13 -05:00
cells conf: remove deprecated cells driver option 2016-11-17 18:58:47 +00:00
cert
cloudpipe Rename security_group parameter in compute.API:create 2016-11-10 11:25:43 -05:00
cmd Log a warning when starting nova-net in non-cellsv1 deployments 2016-11-17 11:53:35 -05:00
common
compute Fix detach_interface() call from external event handler 2016-11-17 10:13:24 -08:00
conductor Remove conductor local api:s and 'use_local' config option 2016-10-18 14:26:06 +02:00
conf Merge "HyperV: use os-brick for volume related operations" 2016-11-19 01:36:48 +00:00
console Skip malformed cookies 2016-09-22 16:46:28 +03:00
consoleauth Avoid unconditional warnings in nova-consoleauth 2016-04-26 23:52:49 +02:00
db [placement] add a placement_aggregates table to api_db 2016-11-08 16:09:56 +00:00
hacking hacking: Use assertIs(Not), assert(True|False) 2016-10-12 11:14:33 +01:00
image conf: Remove deprecated ``use_glance_v1`` 2016-10-12 12:21:59 +00:00
ipv6 Fix test_ipv6 and simplify to_global() 2016-06-28 20:42:32 +02:00
keymgr Deprecate barbican options 2016-07-29 15:36:28 -05:00
locale Imported Translations from Zanata 2016-10-27 08:19:38 +00:00
network neutron: actually populate list in populate_security_groups 2016-11-15 13:36:17 -05:00
notifications Merge "Transform instance.shutdown notifications" 2016-11-03 16:09:49 +00:00
objects Merge "No return for flavor destroy" 2016-11-17 14:04:46 +00:00
pci Merge "Don't parse PCI whitelist every time neutron ports are created" 2016-11-04 17:37:25 +00:00
policies Separate CRUD policy for server_groups 2016-11-21 11:43:13 -05:00
scheduler Correct wrong max_unit in placement inventory 2016-11-10 04:14:09 -05:00
servicegroup Add a hacking rule for string interpolation at logging 2016-10-11 08:39:48 +00:00
tests Separate CRUD policy for server_groups 2016-11-21 11:43:13 -05:00
virt Merge "HyperV: use os-brick for volume related operations" 2016-11-19 01:36:48 +00:00
vnc
volume encryptors: Workaround mangled passphrases 2016-11-02 20:03:41 +00:00
wsgi
__init__.py
availability_zones.py
baserpc.py config options: Centralize upgrade_levels section 2016-04-04 18:35:27 +00:00
block_device.py compute: fixes python 3 related unit tests 2016-10-18 07:07:43 +00:00
cache_utils.py Warn when using null cache backend 2016-05-20 10:45:56 +02:00
config.py Add the ability to configure glanceclient debug logging 2016-08-04 00:32:37 +00:00
context.py Add get_context helper method 2016-09-29 09:58:09 -04:00
crypto.py Drop paramiko < 2 compat code 2016-05-10 12:01:22 -05:00
debugger.py Use oslo_log instead of logging 2016-05-27 12:18:32 +00:00
exception.py [placement] Enforce min_unit, max_unit and step_size 2016-11-14 20:04:02 +00:00
exception_wrapper.py Transform wrap_exception notification to versioned format 2016-06-21 09:39:47 +02:00
filters.py
hash_ring.py Ironic: allow multiple compute services 2016-08-04 23:51:13 +00:00
hooks.py
i18n.py
loadables.py
manager.py Config options: Centralize netconf options 2016-04-24 18:15:05 +00:00
policy.py Remove unnecessary credential sanitation for logging 2016-10-05 12:54:23 -04:00
quota.py incorrect description in nova-api.log about quota check 2016-09-02 17:00:14 +09:00
rpc.py Stop overwriting thread local context in ClientRouter 2016-09-26 20:49:22 +00:00
safe_utils.py
service.py Remove conductor local api:s and 'use_local' config option 2016-10-18 14:26:06 +02:00
signature_utils.py Trivial-Fix: Fix typos 2016-06-13 06:41:08 +00:00
test.py Merge "Cleanup some redundant USES_DB_SELF usage" 2016-10-18 02:34:45 +00:00
utils.py compute: fixes python 3 related unit tests 2016-10-18 07:07:43 +00:00
version.py Use oslo_log instead of logging 2016-05-27 12:18:32 +00:00
weights.py
wsgi.py Fixes python 3 unit tests 2016-09-23 20:10:24 +00:00