Actions
Feature #11206
closedProvide a way to list default role permissions for plugins
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.
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 (
)
Updated by Lukas Zapletal over 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 758d57a3c067dbd07f5bfbd66617b6865dab9d66.
Updated by Dominic Cleal over 9 years ago
- Related to Bug #11230: foreman-debug calls rake "plugins" not "plugin:list" added
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