Project

General

Profile

Actions

Bug #35063

closed

Permissions issue with activation key copy

Added by Rossen G almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Roles and Permissions
Target version:
Fixed in Releases:
Found in Releases:

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

Actions #1

Updated by William Clark almost 2 years ago

  • Target version set to Katello 4.5.0
  • Difficulty set to trivial
  • Triaged changed from No to Yes
Actions #2

Updated by The Foreman Bot almost 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
Actions #3

Updated by The Foreman Bot almost 2 years ago

  • Fixed in Releases Katello 4.5.1 added
Actions #4

Updated by Samir Jha almost 2 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by The Foreman Bot almost 2 years ago

  • Pull request https://github.com/Katello/katello/pull/10186 added
Actions

Also available in: Atom PDF