horizon/horizon
David Lyle 8d9665302a Fix single policy rule handling
With commit 43e9df85ab the handling
of single policy rules was broken and always returned True for a
single rule.

One of the visible results is that the Admin Dashboard showed up
incorrectly for users that lacked permission to see it. Additionally,
panel in the Admin Dashboard were also visible.

This patch fixes single rule handling, and the visible effects.

Closes-Bug: #1653792
Change-Id: I0c8a0d7b230b6c6b7ee048af84646ca95daee340
(cherry picked from commit 5bce9a0250)
2017-01-26 19:59:36 +00:00
..
browsers Fix Flake8 style warnings in horizon/ 2014-07-29 20:38:49 +00:00
conf Move out integration tests scaffolds from Horizon production code 2016-05-31 10:01:21 +00:00
contrib Panel static finder 2016-06-01 02:14:17 +00:00
forms [Django] Allow to upload the image directly to Glance service 2016-08-16 14:30:38 +03:00
hacking Eliminate mutable default arguments 2015-12-17 09:58:46 +00:00
locale Imported Translations from Zanata 2016-12-16 07:36:55 +00:00
management [Django 1.9] Stop using django.utils.importlib 2016-01-26 11:19:23 +00:00
middleware [Django] Allow to upload the image directly to Glance service 2016-08-16 14:30:38 +03:00
static Merge "Add i18n support to Quota.humanizeNumbers" into stable/newton 2017-01-20 12:12:18 +00:00
tables Merge "Replace table row 'status_unknown' class with 'warning' class" 2016-09-14 22:31:38 +00:00
tabs Modify exception message style according to i18n guidelines 2016-06-13 15:36:47 +08:00
templates Revert "Fix the flicker of the log on button name" 2016-12-19 22:06:45 +00:00
templatetags Fix compatibility issues with Django 1.10 2016-09-23 11:33:15 +00:00
test Fix compatibility issues with Django 1.10 2016-09-23 11:33:15 +00:00
utils Enable Python 3.5 testing and fix tests 2016-09-06 14:41:15 +10:00
workflows Modals should inherit from the theme 2016-06-21 15:54:00 -07:00
__init__.py Remove extraneous vim configuration comments 2014-05-06 15:30:10 +08:00
base.py Fix single policy rule handling 2017-01-26 19:59:36 +00:00
context_processors.py Remove extraneous vim configuration comments 2014-05-06 15:30:10 +08:00
decorators.py Remove extraneous vim configuration comments 2014-05-06 15:30:10 +08:00
exceptions.py Removes some redundant words 2016-03-25 11:29:48 +07:00
karma.conf.js Add Angular Schema Form 2016-08-04 16:53:41 +00:00
loaders.py Remove all pre-Django 1.8 workarounds 2016-01-24 22:12:02 +00:00
messages.py Uniquify horizon messages returned in a single response 2014-09-17 13:45:07 +00:00
notifications.py Add message of the day option 2016-01-22 11:31:36 -08:00
site_urls.py Update URLs to Django 1.8+ style 2016-03-28 11:03:08 +01:00
themes.py Fix missing 'THEME' key 2016-08-03 20:06:36 +00:00
version.py Remove extraneous vim configuration comments 2014-05-06 15:30:10 +08:00
views.py Document and improve PageTitleMixin readability 2015-02-11 16:16:20 +00:00