Add the option for all users to create containers in Swift
* Create "swift_allow_all_users" var - default to False * Adjust swift-proxy-server.conf based on this value * If true add _member_ to allowed users. Fixes #610
This commit is contained in:
parent
91fedc9d49
commit
89381d5318
@ -157,5 +157,8 @@ kibana_password:
|
||||
# Swift Options:
|
||||
swift_service_password:
|
||||
swift_container_mysql_password:
|
||||
# Once the swift cluster has been setup DO NOT change these hash values!
|
||||
swift_hash_path_suffix:
|
||||
swift_hash_path_prefix:
|
||||
# This will allow all users to create containers and upload to swift if set to True
|
||||
swift_allow_all_users: False
|
||||
|
@ -288,7 +288,11 @@ delay_auth_decision = {{ delay_auth_decision }}
|
||||
use = egg:swift#keystoneauth
|
||||
# Operator roles is the role which user would be allowed to manage a
|
||||
# tenant and be able to create container or give ACL to others.
|
||||
{% if swift_allow_all_users is defined and swift_allow_all_users == True %
|
||||
operator_roles = admin, swiftoperator, _member_
|
||||
{% else %}
|
||||
operator_roles = admin, swiftoperator
|
||||
{% endif %}
|
||||
# The reseller admin role has the ability to create and delete accounts
|
||||
reseller_admin_role = reseller_admin
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user