Sync OPENSTACK_KEYSTONE_DEFAULT_ROLE with keystone

For now, keystone default role is _member_, while horizon set
OPENSTACK_KEYSTONE_DEFAULT_ROLE to Member. It will really be user
friendly to modify horizon default value to _member_ to sync with
keystone's default setting.

Change-Id: I55d15e6cfb74e52e933c5a44efd6c27930415738
Closes-Bug: #1264228
This commit is contained in:
JiaHao Li 2013-12-26 15:37:14 +08:00 committed by JiaHao Li
parent e578ec1a33
commit 0aacc44f32
3 changed files with 3 additions and 3 deletions

View File

@ -264,7 +264,7 @@ If Keystone has been configured to use LDAP as the auth backend then set
``OPENSTACK_KEYSTONE_DEFAULT_ROLE``
-----------------------------------
Default: ``"Member"``
Default: ``"_member_"``
The name of the role which will be assigned to a user when added to a project.
This name must correspond to a role name in Keystone.

View File

@ -126,7 +126,7 @@ EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
OPENSTACK_HOST = "127.0.0.1"
OPENSTACK_KEYSTONE_URL = "http://%s:5000/v2.0" % OPENSTACK_HOST
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "Member"
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "_member_"
# Disable SSL certificate checks (useful for self-signed certificates):
# OPENSTACK_SSL_NO_VERIFY = True

View File

@ -97,7 +97,7 @@ OPENSTACK_API_VERSIONS = {
}
OPENSTACK_KEYSTONE_URL = "http://localhost:5000/v2.0"
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "Member"
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "_member_"
OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True
OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = 'test_domain'