Unlimited check not forced for resource filter with no taxonomies
|Status:||Ready For Testing|
|Assigned To:||Dominik Hlavac Duran|
|Target version:||Team Marek backlog|
|Found in release:||Pull request:||https://github.com/theforeman/foreman/pull/4724|
|Velocity based estimate||-|
Description of problem:
Unlimited check is not forced for resource filter in role where neither role nor that filter has any taxonomies associated.
Steps to Reproduce:
1. Create a role with some taxonomies.
2. Create a filter in a role without override and unlimited checked.
3. Submit the role.
4. Edit the role and remove taxonomies assigned earlier and ensure no taxonomies are assigned to role and submit.
5. Verify if the filter in role has unlimited check checked when neither role nor filter has taxonomies associated.
Unlimited check not forced for filter with no taxonomies from role or from itself
Unlimited check should be forced for filter having no taxonomies associated to it from role or self.