How to set permissions to allow the owner to list his instances in dashboard

asked 2015-05-22 09:30:05 -0500

Kui.Li gravatar image


I customized openstack policy files, like nova_policy.json, hoping only the owner has rights to list the instances he created in dashboard. So, I defined an owner in nova_policy.json ,

            "usertag" : "user_id:%(user_id)s",
             "compute:get_all": "rule:usertag",   # did it mean getting the instances the user created, or not?

after I stored the policy file and restarted apache2 service, it seemed that other user were able to get the instances I created. Is there something I missed?


edit retag flag offensive close merge delete