-
Notifications
You must be signed in to change notification settings - Fork 898
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Role RBAC tree and feature fixes #8281
Conversation
@h-kataria : can you take a look, please? I am trying to write some specs for these changes. |
Fix verified in UI. Looks good. |
Now that #8291 is merged, closed/reopened to restart Travis |
Restarted travis, all is green now. |
@martinpovolny looks like Travis did not finish running. |
Travis was green from last night until I pushed the specs in #8312. Strange. |
Add default value for the 2nd argument so that it's not the caller's resposibility to pass the correct value.
Extract recurse_sections_and_features from rbac_role_get_form_vars deduplicating the logic in recurse_sections_and_features and adding support for nested menu sections.
62b03cc
to
010dd5a
Compare
Checked commits martinpovolny/manageiq@ccef8fc~...010dd5a with ruby 2.2.3, rubocop 0.37.2, and haml-lint 0.16.1 app/controllers/ops_controller/ops_rbac.rb
|
@martinpovolny @h-kataria @dclarizio is this for |
@chessbyte added yes, not a blocker, but really needed for setting RBAC features in roles |
Role RBAC tree and feature fixes (cherry picked from commit 91b798c)
Make Role RBAC tree editor work: