diff options
author | Andrew Laski <andrew@lascii.com> | 2016-07-01 14:10:22 -0400 |
---|---|---|
committer | Andrew Laski <andrew@lascii.com> | 2016-07-01 14:10:22 -0400 |
commit | 7ee75f638af7f17285508b10ac49346a51677714 (patch) | |
tree | a7bda55127eb671e09f2378ea08eb8c3b8d5a234 /HACKING.rst | |
parent | f8f83b4751f5671cbb8cdddb9a7a7230d6cb916d (diff) | |
download | nova-7ee75f638af7f17285508b10ac49346a51677714.tar.gz |
Remove final use of _ENFORCER.enforce
_ENFORCER.enforce checks policy but does not require that the policy has
been registered beforehand. _ENFORCER.authorize does require that the
policy is registered. By not using enforce we can be sure that all used
policies are registered and will therefore show up in sample file
generation.
Change-Id: I9e986e2c42e8341b910cf8c3a10042fa24c8c8d8
Partially-Implements: bp policy-in-code
Diffstat (limited to 'HACKING.rst')
0 files changed, 0 insertions, 0 deletions