Actions
Bug #27611
closedCannot pass in obects to BulkAction that are not within users 'scope'
Difficulty:
Triaged:
No
Pull request:
Fixed in Releases:
Found in Releases:
Description
In katello we have an issue where if a user does some content action that should result in a foreman proxy content sync, it will not occur unless the user's context (permissions, location, org) allow the user to see the smart proxy.
It seems that BulkAction is calling 'target_class.where(:id => current_batch)' which uses foreman's default scopes. I don't think that foreman-tasks should be enforcing that, but instead should be using .unscoped to ignore permissions at this layer.
Updated by Justin Sherrill over 5 years ago
- Related to Bug #27529: Capsule not in the current location won't get sync after publishing a CV successfully. added
Updated by The Foreman Bot over 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman-tasks/pull/450 added
Updated by The Foreman Bot over 5 years ago
- Fixed in Releases foreman-tasks-0.16.1 added
Updated by Justin Sherrill over 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset f7c3f1248d7725cf4c2dcf98e0a57866dc6b2f82.
Updated by Adam Ruzicka over 5 years ago
- Fixed in Releases foreman-tasks-0.17.0 added
Updated by Adam Ruzicka over 5 years ago
- Fixed in Releases foreman-tasks-0.15.11 added
Actions