Merge "Add description to policies in server_external_events.py"
This commit is contained in:
@@ -22,9 +22,16 @@ POLICY_ROOT = 'os_compute_api:os-server-external-events:%s'
|
||||
|
||||
|
||||
server_external_events_policies = [
|
||||
policy.RuleDefault(
|
||||
name=POLICY_ROOT % 'create',
|
||||
check_str=base.RULE_ADMIN_API),
|
||||
base.create_rule_default(
|
||||
POLICY_ROOT % 'create',
|
||||
base.RULE_ADMIN_API,
|
||||
"Creates one or more external events",
|
||||
[
|
||||
{
|
||||
'method': 'POST',
|
||||
'path': '/os-server-external-events'
|
||||
}
|
||||
]),
|
||||
policy.RuleDefault(
|
||||
name=POLICY_ROOT % 'discoverable',
|
||||
check_str=base.RULE_ANY),
|
||||
|
Reference in New Issue
Block a user