LIst of own instances

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

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

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

for libery: what is the workaround for the query?

edit flag offensive delete link more

answered 2015-06-06 09:04:04 -0600

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


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

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

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


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

Seen: 127 times

Last updated: Jun 06 '15