Bug 1327725
| Summary: | when a user in a child tenant executes create_provision_request the miq_request has the wrong tenant id | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | John Prause <jprause> |
| Component: | Provisioning | Assignee: | mkanoor |
| Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Pavol Kotvan <pakotvan> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.5.0 | CC: | cpelland, dajohnso, jhardy, kmorey, mkanoor, nachandr, nstephan, obarenbo |
| Target Milestone: | GA | Keywords: | ZStream |
| Target Release: | 5.5.6 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | tenant_cfme:catalog:provision | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1322983 | Environment: | |
| Last Closed: | 2017-11-08 17:40:09 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1322983 | ||
| Bug Blocks: | |||
|
Comment 2
mkanoor
2016-05-24 14:25:15 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 |