Add appropriate policy rules to admin images panel

Currently many panels are missing appropriate policy rules.

This patch adds policy rules to the admin images panel.

Change-Id: I8b25b420417387ef1d0ede1169243e30da343067
Partial-bug:#1534495
(cherry picked from commit a4af4e0866)
This commit is contained in:
Laurent Baeriswyl 2016-10-19 18:04:03 -07:00 committed by Rob Cresswell
parent 26ad5c905c
commit 1347d4d22c
1 changed files with 1 additions and 0 deletions

View File

@ -25,3 +25,4 @@ class Images(horizon.Panel):
name = _("Images")
slug = 'images'
permissions = ('openstack.services.image',)
policy_rules = (("image", "get_images"),)