Bug #14527
Edit buttons should not be visible to discovery_reader role
Difficulty:
Triaged:
No
Bugzilla link:
Description
We need to use link_to_if_authorized. This is only cosmetic bug, actions fail with 403 correctly.
Related issues
Associated revisions
History
#1
Updated by Lukas Zapletal almost 7 years ago
- Related to Bug #14529: Disabled buttons in drop down menu do not render as disabled added
#2
Updated by The Foreman Bot almost 7 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman_discovery/pull/266 added
#3
Updated by Anonymous almost 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_discovery|fc7a7ba8c9cb933f0015b45266eaea23ad6c472d.
Fixes #14527 - buttons are not visible to reader role