Actions
Refactor #16990
closedBreak apart AccessPermissionTest for easier plugin reuse
Description
Right now if a plugin wants to implement a similar test to the AccessPermissionsTest, it has to redefine all the constants here:
https://github.com/theforeman/foreman/blob/develop/test/unit/foreman/access_permissions_test.rb#L14
if there are any routes added without a namespace (such as adding a new action to the hosts api). If a test tries to require that file, the test is actually executed and if there are additional items that need to be white listed, those will fail.
Updated by The Foreman Bot almost 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/3950 added
Updated by Justin Sherrill almost 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 5db3608703f36ab416596e2f7cf20c732054ac84.
Updated by Dominic Cleal almost 8 years ago
- Tracker changed from Bug to Refactor
- Translation missing: en.field_release set to 189
Actions