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.
Actions