-
Notifications
You must be signed in to change notification settings - Fork 358
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
Toolbar refactoring #disable_button: UserRole #552
Toolbar refactoring #disable_button: UserRole #552
Conversation
649d415
to
cb228a9
Compare
This pull request is not mergeable. Please rebase and repush. |
- Create spec examples for RbacUserRoleDelete button class - Implement RbacUserRole button class - Assign rbac_role_delete button to its newly created class - Remove rbac_role_delete button from #disable_button
- Create spec examples for RbacRoleEdit button class - Implement RbacRoleEdit button class - Assign rbac_role_edit button to its newly created class - Remove rbac_role_edit button from #disable_button
cb228a9
to
7b4654b
Compare
Checked commits vecerek/manageiq-ui-classic@1f67b3a~...7b4654b with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 app/helpers/application_helper/toolbar/user_role_center.rb
spec/helpers/application_helper/buttons/rbac_role_delete_spec.rb
|
@miq-bot add_label bug |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR fixes issue with disabling toolbar buttons, because the correct class for the @record
should be MiqUserRole
.
Now the buttons are correctly disabled 👍
Links
Parent issue: ManageIQ/manageiq#6259
Related issue: ManageIQ/manageiq#6554
Pivotal Tracker: https://www.pivotaltracker.com/story/show/140768853