Project

General

Profile

Actions

Feature #11206

closed

Provide a way to list default role permissions for plugins

Added by Lukas Zapletal over 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

If we were able to list default roles and it's permissions we can use this in unit/functional tests to verify permissions and filters. More than that, this gives us possibility to create a mechanism for comparing expected permissions with existing ones. This might be useful after upgrades when users want to check if some important permissions were not added in the new version.

I have a patch that adds this, it's simple. It also adds a simple rake task that does the check. I would like to have this for 1.9 because we would like to merge a big permission review for Discovery 4.0 together with bunch of new tests covering this area which greatly improves the quality.


Related issues 2 (1 open1 closed)

Related to Foreman - Bug #11230: foreman-debug calls rake "plugins" not "plugin:list"Closed07/28/2015Actions
Related to Foreman - Feature #10900: Ship all built-in roles as read-only and provide a way to clone rolesNew06/22/2015Actions
Actions #1

Updated by The Foreman Bot over 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2572 added
  • Pull request deleted ()
Actions #2

Updated by Lukas Zapletal over 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by Dominic Cleal over 9 years ago

  • Related to Bug #11230: foreman-debug calls rake "plugins" not "plugin:list" added
Actions #4

Updated by Dominic Cleal over 9 years ago

  • Related to Feature #10900: Ship all built-in roles as read-only and provide a way to clone roles added
Actions

Also available in: Atom PDF