Properly enable/disable project/user edit via setting.

For identity backends which don't support editing (LDAP, et. al.)
we already have a setting that turns off user editing, but it was
applied inconsistently. This patch applies it more thoroughly
and adds the same functionality for projects.

Fixes bug 1109019.

Change-Id: Ia1316de4ff76779b93edd1c1f364ede9aabb6fd0
This commit is contained in:
Gabriel Hurley 2013-02-09 15:29:56 -08:00
parent 59425901b2
commit cacb79117e
1 changed files with 2 additions and 1 deletions

View File

@ -65,7 +65,8 @@ OPENSTACK_KEYSTONE_DEFAULT_ROLE = "Member"
OPENSTACK_KEYSTONE_BACKEND = { OPENSTACK_KEYSTONE_BACKEND = {
'name': 'native', 'name': 'native',
'can_edit_user': True 'can_edit_user': True,
'can_edit_project': True
} }
OPENSTACK_HYPERVISOR_FEATURES = { OPENSTACK_HYPERVISOR_FEATURES = {