Put base policy rules at first

This will ensure base rules are generated at the beginning of
policy.yaml.sample.

Change-Id: I3a961ddb096b848a991e2dc11b3b80af83f43d74
This commit is contained in:
yushangbin 2017-09-05 16:39:40 +08:00
parent a90d9165b8
commit e86d57aa4e

View File

@ -28,8 +28,8 @@ from barbican.common.policies import versions
def list_rules():
return itertools.chain(
acls.list_rules(),
base.list_rules(),
acls.list_rules(),
cas.list_rules(),
consumers.list_rules(),
containers.list_rules(),