The following is an overview of all available policies in Blazar. For a sample configuration file, refer to Sample Policy File.
To change policies, please create a policy file in /etc/blazar/ and specify the policy file name at the oslo_policy/policy_file option in blazar.conf.
admin
Default: | is_admin:True or role:admin |
---|
Default rule for most Admin APIs.
admin_or_owner
Default: | rule:admin or project_id:%(project_id)s |
---|
Default rule for most non-Admin APIs.
blazar:leases:get
Default: |
|
---|---|
Operations: |
|
Policy rule for List/Show Lease(s) API.
blazar:leases:post
Default: |
|
---|---|
Operations: |
|
Policy rule for Create Lease API.
blazar:leases:put
Default: |
|
---|---|
Operations: |
|
Policy rule for Update Lease API.
blazar:leases:delete
Default: |
|
---|---|
Operations: |
|
Policy rule for Delete Lease API.
blazar:oshosts:get
Default: |
|
---|---|
Operations: |
|
Policy rule for List/Show Host(s) API.
blazar:oshosts:post
Default: |
|
---|---|
Operations: |
|
Policy rule for Create Host API.
blazar:oshosts:put
Default: |
|
---|---|
Operations: |
|
Policy rule for Update Host API.
blazar:oshosts:delete
Default: |
|
---|---|
Operations: |
|
Policy rule for Delete Host API.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.