Project

General

Profile

Bug #20812

Extend core roles based on what's in RolesList

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

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Users, Roles and Permissions
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
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

Related to Foreman - Feature #18001: Allow plugins to easily add their permissions to core's Viewer and ManagerClosed2017-01-10
Related to Foreman - Bug #21342: Role needs to be updated if their permissions changed in new versionClosed

History

#1 Updated by Marek Hulán about 3 years ago

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

#2 Updated by Marek Hulán about 3 years ago

  • Status changed from New to Duplicate

Dup of #24342

#3 Updated by Marek Hulán about 3 years ago

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

Also available in: Atom PDF