[data processing] Make sahara permission check backwards compatible

Bug #1433816 reported by Lin Hua Cheng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
Lin Hua Cheng

Bug Description

The permission checked was changed in: https://bugs.launchpad.net/horizon/+bug/1429987

FROM:
permissions = ('openstack.services.data_processing',)

TO:
permissions = ('openstack.services.data-processing',)

The change is not backwards compatible. Needs to be updated to do an OR to check for both

Changed in horizon:
assignee: nobody → Lin Hua Cheng (lin-hua-cheng)
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/165644

Changed in horizon:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/165644
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=30d4b6d1f95ece8eba9522e7e3d34b981c41bfc9
Submitter: Jenkins
Branch: master

commit 30d4b6d1f95ece8eba9522e7e3d34b981c41bfc9
Author: lin-hua-cheng <email address hidden>
Date: Wed Mar 18 16:08:59 2015 -0700

    Make sahara permission check backward compatible

    In kilo, the service type of sahara changed from data_processing
    to data-processing.

    We should be checking for both data-processing and data_processing
    service for backward compatability.

    Change-Id: I6f55938b7c9dedcacc2fd6ba27c14ecc4e8565e3
    Closes-Bug: #1433816

Changed in horizon:
status: In Progress → Fix Committed
Akihiro Motoki (amotoki)
Changed in horizon:
milestone: none → kilo-rc1
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: kilo-rc1 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.