Bug 1327725 - when a user in a child tenant executes create_provision_request the miq_request has the wrong tenant id
Summary: when a user in a child tenant executes create_provision_request the miq_reque...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Provisioning
Version: 5.5.0
Hardware: All
OS: All
high
high
Target Milestone: GA
: 5.5.6
Assignee: mkanoor
QA Contact: Pavol Kotvan
URL:
Whiteboard: tenant_cfme:catalog:provision
Depends On: 1322983
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-15 18:17 UTC by John Prause
Modified: 2017-11-08 17:40 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1322983
Environment:
Last Closed: 2017-11-08 17:40:09 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 2 mkanoor 2016-05-24 14:25:15 UTC
Created a PR https://github.com/ManageIQ/manageiq/pull/6395 for this issue.

Comment 4 CFME Bot 2016-10-20 21:06:19 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/ca856952a8e5258a0348ce9d10bce9599b106aa6

commit ca856952a8e5258a0348ce9d10bce9599b106aa6
Author:     Madhu Kanoor <mkanoor>
AuthorDate: Tue Sep 27 15:39:45 2016 -0400
Commit:     Madhu Kanoor <mkanoor>
CommitDate: Thu Oct 20 12:02:56 2016 -0400

    RBAC for service models
    
    Filters service model objects based on the current user passed into
    Automate.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1306274
    https://bugzilla.redhat.com/show_bug.cgi?id=1327725

 lib/miq_automation_engine/engine/miq_ae_service.rb |  3 +
 .../engine/miq_ae_service/miq_ae_service_rbac.rb   | 53 +++++++++++++
 .../engine/miq_ae_service_model_base.rb            | 10 ++-
 .../engine/miq_ae_workspace.rb                     | 28 +++++++
 .../engine/drb_remote_invoker_spec.rb              |  4 +-
 .../engine/miq_ae_method_spec.rb                   |  3 +
 .../engine/miq_ae_service_rbac_spec.rb             | 87 ++++++++++++++++++++++
 .../miq_automation_engine/miq_ae_service_spec.rb   | 12 ++-
 8 files changed, 194 insertions(+), 6 deletions(-)
 create mode 100644 lib/miq_automation_engine/engine/miq_ae_service/miq_ae_service_rbac.rb
 create mode 100644 spec/lib/miq_automation_engine/engine/miq_ae_service_rbac_spec.rb


Note You need to log in before you can comment on or make changes to this bug.