Project

General

Profile

Actions

Bug #20812

closed

Extend core roles based on what's in RolesList

Added by Marek Hulán about 7 years ago. Updated about 7 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Users, Roles and Permissions
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Since now the roles are locked, users can't extend them with newly added permissions. Similarly like how plugins extend roles, we should reflect changes in db/seeds.d/02-roles_list.rb and db/seeds.d/02-permissions_list.rb, otherwise if we add new permission to the core, e.g. Manager will not contain it.


Related issues 2 (0 open2 closed)

Related to Foreman - Feature #18001: Allow plugins to easily add their permissions to core's Viewer and ManagerClosedOndřej Pražák01/10/2017Actions
Related to Foreman - Bug #21342: Role needs to be updated if their permissions changed in new versionClosedMarek HulánActions
Actions #1

Updated by Marek Hulán about 7 years ago

  • Related to Feature #18001: Allow plugins to easily add their permissions to core's Viewer and Manager added
Actions #2

Updated by Marek Hulán about 7 years ago

  • Status changed from New to Duplicate

Dup of #24342

Actions #3

Updated by Marek Hulán about 7 years ago

  • Related to Bug #21342: Role needs to be updated if their permissions changed in new version added
Actions

Also available in: Atom PDF