Actions
Bug #20104
closedfix_db_cache needs to run with admin permissions
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Description
The rake task 'fix_db_cache' triggers CacheManager, and CacheManager tries to find roles, user groups, etc.. without any permissions. This will cause it to fail with an error similar to https://gist.github.com/52da11cb368ec530bcf0247d3ee38855 .
Many of the actions called by CacheManager, like UsergroupMember.save will have to find objects that needs permissions to be viewed, hence CacheManager has to be called "as_admin".
Updated by Daniel Lobato Garcia over 7 years ago
- Translation missing: en.field_release set to 266
Updated by The Foreman Bot over 7 years ago
- Status changed from New to Ready For Testing
- Assignee set to Daniel Lobato Garcia
- Pull request https://github.com/theforeman/foreman/pull/4622 added
Updated by Anonymous over 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset c1ca2c0d10a411f0074939304030449840ecea7c.
Actions