diff options
| author | Vishvananda Ishaya <vishvananda@gmail.com> | 2013-02-11 10:06:36 -0800 |
|---|---|---|
| committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2013-02-11 10:06:36 -0800 |
| commit | 394713eaef63f28f5ea298aeac4ae1f7c76fa167 (patch) | |
| tree | 7cd0bf69867c58cbe4f16d929282820e5f06fdce /bin | |
| parent | 3e4637e8e7887567ac7dbc60e997aa780f029c1c (diff) | |
Fix regression in non-admin simple_usage:show.
Commit 6ff32210772a67a1b526d9d784030afc90f3ce99 optimized the db query
for usage but replaced a call that had require_context with one that
had require_admin_context. This causes usage show to throw a 403. We
check for admin_or_owner in policy, so there is no need to check for
admin context at the db layer.
Fixes bug 1122267
Change-Id: Iff362f46d83a710f3883538bcb646e3457e0ba64
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions
