foreman
foreman copied to clipboard
Proxy used taxonomy ids
TODOs:
- [ ] ? drop
SmartProxy#taxonomy_foreign_conditions
which is wrong anyway? - [x] Set up smart proxy references in katello https://github.com/Katello/katello/pull/10833
- [x] Set up smart proxy references in openscap https://github.com/theforeman/foreman_openscap/pull/555
Is this your original intention?
That sounds about right
Not entirely sure it's related to this PR, but I see I can give the proxy more visibility than I have:
This user has permissions only for empty_org
, but he can assign also default_org to the proxy, although he is not able to select it in the selector.
What exact roles or permissions did you give to that user? If I give the user the org admin role then I can reproduce both with and without this patch. Apparently as long as the user has a role grants them the assign_organizations
permission, they'll be able to assign organizations which they can't see, which is unfortunate but not really related to what I'm trying to solve here.
I have tried it with org_admin role indeed.
@adamruzicka, could you please squash the commits?