How to setup nova's policy.json ensure only owner can list his instance?

asked 2017-12-25 20:39:31 -0600

YCC gravatar image

Hi all, I want to ensure that only the owner of the instances can list his instances.

I try to add rules in /etc/openstack-dashboard/nova_policy.json like below:

"owner": "user_id:%(user_id)s",

"compute:get": "rule:owner",


But, it can't work.
How to setup nova's policy.json ensure only owner can list his instance?

Version: Ocata, OS: CentOS 7.3

edit retag flag offensive close merge delete