Bug 1374505
Summary: | Unable to create a custom repository in Satellite Web UI as non-admin user | |||
---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | dgupte | |
Component: | Users & Roles | Assignee: | satellite6-bugs <satellite6-bugs> | |
Status: | CLOSED ERRATA | QA Contact: | Renzo Nuccitelli <rnuccite> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 6.2.0 | CC: | bbuckingham, bkearney, cfouant, dcaplan, dlezzoum, dnagarat, egolov, hmore, howey.vernon, jcallaha, jsherril, ktordeur, mjahangi, nmiao, pmorey, rnuccite, satellite6-bugs, sauchter, tbrisker, tstrachota, vvasilev, xdmoon, zhunting | |
Target Milestone: | Unspecified | Keywords: | PrioBumpPM, Triaged | |
Target Release: | Unused | |||
Hardware: | All | |||
OS: | All | |||
Whiteboard: | ||||
Fixed In Version: | tfm-rubygem-katello-3.0.0.115-1 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1426393 (view as bug list) | Environment: | ||
Last Closed: | 2017-05-01 13:54:38 UTC | Type: | Bug | |
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: | ||||
Bug Blocks: | 1316897, 1385841, 1426393 |
Description
dgupte
2016-09-08 21:11:17 UTC
*** Bug 1375666 has been marked as a duplicate of this bug. *** Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/16505 has been resolved. *** Bug 1391810 has been marked as a duplicate of this bug. *** Please add verifications steps for this bug to help QE verify After creating the user with all Products and repositories filter I got an error while accessing Content -> Products: Oops, we're sorry but something went wrong No route matches {:action=>"edit", :bastion_page=>"products", :controller=>"users", :id=>#<User id: 4, login: "repo", firstname: "", lastname: "", mail: "", admin: false, last_login_on: "2017-03-23 15:56:51", auth_source_id: 1, created_at: "2017-03-23 15:50:08", updated_at: "2017-03-23 15:57:22", password_hash: "7e9a927048e06783dfc1daeee798ee0e95977b66", password_salt: "041d4b8f031f6a03a481552d6ace46bbc8c087bf", locale: nil, avatar_hash: nil, default_organization_id: nil, default_location_id: nil, lower_login: "repo", mail_enabled: true, timezone: "">} missing required keys: [] Logs: tail production.log | /usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request' | /usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request' | /usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop' | /usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads' | /opt/theforeman/tfm/root/usr/share/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `call' | /opt/theforeman/tfm/root/usr/share/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context' 2017-03-23 12:13:43 7e78f586 [app] [I] Rendered common/500.html.erb within layouts/application (3.6ms) 2017-03-23 12:13:43 7e78f586 [app] [I] Rendered layouts/_application_content.html.erb (0.6ms) 2017-03-23 12:13:43 7e78f586 [app] [I] Rendered layouts/base.html.erb (2.6ms) 2017-03-23 12:13:43 7e78f586 [app] [I] Completed 500 Internal Server Error in 43ms (Views: 9.7ms | ActiveRecord: 5.7ms) [root@dell-pe-fm120-1a foreman]# Thus I am moving this back ASSIGNED Looking at the failure, its actually completely unrelated to this issue. When you create a user and don't give them an email address, the user is prompted to enter one when they login. They will not be able to do anything with the app until they provide it. I'm seeing a couple of issues with this 'feature': 1) its not currently telling the user they need to enter the email address 2) clicking on any bastion pages without entering the email address leads to the error you see in comment #33. I think both of these issues are new (separate bzs). In Renzo's case, after entering an email address for that user, i am able to navigate to products and create a repository. Moving back to ON_QA After setting user email I was able to see and create new repo on sat 6.2.9 snap 1. Thus I am going to move this to VERIFIED. About the email I created 2 other issues: https://bugzilla.redhat.com/show_bug.cgi?id=1435409 https://bugzilla.redhat.com/show_bug.cgi?id=1435414 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:1191 |