Bug 1641012
| Summary: | undefined method `find_tagged_with' for #<Class:0x000000000b5e3228> [miq_request/show_list] | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Niladri Roy <niroy> | |
| Component: | Appliance | Assignee: | Joe Rafaniello <jrafanie> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Shveta <sshveta> | |
| Severity: | high | Docs Contact: | Red Hat CloudForms Documentation <cloudforms-docs> | |
| Priority: | high | |||
| Version: | 5.9.4 | CC: | abellott, hkataria, ikaur, jrafanie, kthiyaga, lavenel, mfeifer, mpovolny, obarenbo, simaishi | |
| Target Milestone: | GA | Keywords: | TestOnly, ZStream | |
| Target Release: | 5.10.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | 5.10.0.21 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1641810 (view as bug list) | Environment: | ||
| Last Closed: | 2019-02-12 16:50:06 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | CFME Core | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1641810 | |||
|
Description
Niladri Roy
2018-10-19 12:42:48 UTC
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/ed5fbff7c264c6b3862c0552634234ec4a0bfebc commit ed5fbff7c264c6b3862c0552634234ec4a0bfebc Author: Gregg Tanzillo <gtanzill> AuthorDate: Fri Oct 19 16:07:51 2018 -0400 Commit: Gregg Tanzillo <gtanzill> CommitDate: Fri Oct 19 16:07:51 2018 -0400 Check if class is taggable before attempting to process tag expression This eliminates an error being raised when a tag expression was used in RBAC and is applied to a class that is not taggable Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1641012 lib/rbac/filterer.rb | 2 +- spec/lib/rbac/filterer_spec.rb | 18 + 2 files changed, 19 insertions(+), 1 deletion(-) New commit detected on ManageIQ/manageiq/hammer: https://github.com/ManageIQ/manageiq/commit/371a21f17a26376ccd8e473b645f8988ed61c5f1 commit 371a21f17a26376ccd8e473b645f8988ed61c5f1 Author: Joe Rafaniello <jrafanie.github.com> AuthorDate: Mon Oct 22 11:26:24 2018 -0400 Commit: Joe Rafaniello <jrafanie.github.com> CommitDate: Mon Oct 22 11:26:24 2018 -0400 Merge pull request #18114 from gtanzillo/fix-tag-expression-on-not-taggable-class Check if class is taggable before attempting to process tag expression (cherry picked from commit 6fa29c26a8dbb3c8935dfc4d521b6971073d3655) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1641012 lib/rbac/filterer.rb | 2 +- spec/lib/rbac/filterer_spec.rb | 18 + 2 files changed, 19 insertions(+), 1 deletion(-) Verification blocked by https://bugzilla.redhat.com/show_bug.cgi?id=1643250 Took an empty database. Created a new user role, from an existing one, add a Managed -> environment -> production tag for that user role, assigned a group to this role, and added a user into this group. As an admin, created a request, then logged in as the user with this production tag. No error on seeing requests.User is able to see requests verified in 5.10.0.23.20181106165157_92dd189 |