Bug #35063
closedPermissions issue with activation key copy
Description
Hi,
I've been attempting to restrict user permissions, specifically:
On activation key copy, the menu item is missing. The user has all `Activation Keys` permissions. Accessing https://foreman.example.com/activation_keys/1/copy directly causes the browser to loop between that and https://foreman.example.com/katello/403 My guess is this is a result of typo, the permission used is `create_activation_key`, but the permission is `create_activation_keys` (`s` missing).
https://github.com/Katello/katello/blob/KATELLO-4.1/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-keys.routes.js#L118
https://github.com/Katello/katello/blob/KATELLO-4.1/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-details.html#L11
Updated by William Clark over 2 years ago
- Target version set to Katello 4.5.0
- Difficulty set to trivial
- Triaged changed from No to Yes
Updated by The Foreman Bot over 2 years ago
- Status changed from New to Ready For Testing
- Assignee set to Samir Jha
- Pull request https://github.com/Katello/katello/pull/10173 added
Updated by The Foreman Bot over 2 years ago
- Fixed in Releases Katello 4.5.1 added
Updated by Samir Jha over 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|85f0ce45551f974c657d10b54f2b152a938be1ab.
Updated by The Foreman Bot over 2 years ago
- Pull request https://github.com/Katello/katello/pull/10186 added