will policy.json based implementation be available in next version of openstack

asked 2013-07-30 05:08:45 -0600

Sudheesh gravatar image

updated 2013-07-30 05:09:43 -0600

will policy.json based implementation be available in next version of openstack

Currenly RBAC policies are stored in policy.json. Is this getting changed to DB anytime soon?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-08-12 15:56:54 -0600

koolhead17 gravatar image

AFAIK its up to you to select what implementation you want to use. Both implementation is already available.

edit flag offensive delete link more


Can you please tell me how to use DB based RBAC ? I can elaborate my question 1. In policy.json(keystone) I am able to define rule called - admin_required 2. Similary I can define rules line custome_role_required 3. Then I can add this rule against each services (like for eg : identity:list_users = custom_role_required How can I use this for DB based RBAC policies? Also there are code like self.policy_api.enforce(context, creds, 'admin_required', {}) in many places (this is in wsgi.py) How can I utilize the same code and at the same time move the policy definition to DB

Sudheesh gravatar imageSudheesh ( 2013-08-13 01:23:42 -0600 )edit

Sudheesh, Unfortunately i cannot answer this one for you. Using openstack-dev mailing list will be a good option. :)

koolhead17 gravatar imagekoolhead17 ( 2013-08-13 01:48:31 -0600 )edit

Sure. Can you please tell me mailing list email id to which I can send this?

Sudheesh gravatar imageSudheesh ( 2013-08-13 01:52:18 -0600 )edit

http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev Also don`t forget to read this http://www.catb.org/esr/faqs/smart-questions.html before sending the mail to the list. Hope it helps & closes this question. :D

koolhead17 gravatar imagekoolhead17 ( 2013-08-13 01:55:01 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-07-30 05:08:45 -0600

Seen: 177 times

Last updated: Aug 12 '13