Actions
Bug #2503
closedIntermittent failure to load pages as non-admin user
Status:
Closed
Priority:
Normal
Assignee:
Category:
Users, Roles and Permissions
Target version:
-
Description
Seen on: Git Head: ce12585ee584563f99cdc8fbc3ce1f1ae663495f
Rails Env: development
I'm testing permissions access as a non-admin user (with a variety of filters). Usually on the second or third page load, I get a stack trace:
private method `select' called for nil:NilClass Rails.root: /home/greg/github/foreman Application Trace | Framework Trace | Full Trace lib/foreman/access_control.rb:46:in `public_permissions' app/models/role.rb:144:in `allowed_permissions' app/models/role.rb:148:in `allowed_actions' app/models/role.rb:98:in `allowed_to?' app/models/user.rb:174:in `allowed_to?' app/models/user.rb:174:in `allowed_to?' app/controllers/application_controller.rb:43:in `authorize' lib/foreman/thread_session.rb:31:in `clear_thread'
I'm guessing something in the settings loader is dropping information....
Actions