Ask Your Question
0

LIst of own instances

asked 2015-06-06 04:45:40 -0500

eonqee gravatar image

I want users to only see there own instances, not the instances of all the users in the same tenant. I change policy.json

"admin_or_user": "is_admin:True or user_id:%(user_id)s",
"compute:get_all": "admin_or_user",

But it does not work. The user sees all instances of tenant.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2016-05-19 04:49:12 -0500

for libery: what is the workaround for the query?

edit flag offensive delete link more
0

answered 2015-06-06 09:04:04 -0500

sunnyarora gravatar image

Which openstack release you are working on? Can you check changing settings as already answered by Izhar here

"owner": [["user_id:%(user_id)s"]],
"admin_or_user": "is_admin:True or user_id:%(user_id)s",
"compute:get": "rule:admin_or_user",
"compute:delete": "rule:admin_or_user",
edit flag offensive delete link more

Comments

Icehouse. These settings work, but that's not what I need

eonqee gravatar imageeonqee ( 2015-06-06 10:35:18 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-06-06 04:45:40 -0500

Seen: 89 times

Last updated: Jun 06 '15