commit d61aedaf868d984f1c317a73b362a2e7a366ef89
Author: Yong Sheng Gong <email address hidden>
Date: Sun Mar 18 23:56:35 2012 +0800
unique role name constraint
For SQL identity backend, add unique constraint with column definition;
for kvs and ldap backend, use python code to apply this constraint.
Test cases test_create_duplicate_role_name_fails and test_rename_duplicate_role_name_fails are added to guard it.
python run_tests.py test_backend_ldap test_backend_kvs test_backend_sql pass.
Reviewed: https:/ /review. openstack. org/5485 github. com/openstack/ keystone/ commit/ d61aedaf868d984 f1c317a73b362a2 e7a366ef89
Committed: http://
Submitter: Jenkins
Branch: master
commit d61aedaf868d984 f1c317a73b362a2 e7a366ef89
Author: Yong Sheng Gong <email address hidden>
Date: Sun Mar 18 23:56:35 2012 +0800
unique role name constraint
For SQL identity backend, add unique constraint with column definition; duplicate_ role_name_ fails and test_rename_ duplicate_ role_name_ fails are added to guard it.
for kvs and ldap backend, use python code to apply this constraint.
Test cases test_create_
python run_tests.py test_backend_ldap test_backend_kvs test_backend_sql pass.
bug 932258.
Change-Id: I990f17a270e84d 35c078f215c587a 81d6784c192