Project

General

Profile

Actions

Bug #35063

closed

Permissions issue with activation key copy

Added by Rossen G over 2 years ago. Updated over 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

Also available in: Atom PDF