Bug #18736

Unlimited check not forced for resource filter with no taxonomies

Added by Ondřej Pražák 6 months ago. Updated 8 days ago.

Status:Ready For Testing
Priority:Normal
Assigned To:Dominik Hlavac Duran
Category:Authorization
Target version:Team Marek backlog
Difficulty: Bugzilla link:1384053
Found in release: Pull request:https://github.com/theforeman/foreman/pull/4724
Story points-
Velocity based estimate-

Description

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.

Actual results:
Unlimited check not forced for filter with no taxonomies from role or from itself

Expected results:
Unlimited check should be forced for filter having no taxonomies associated to it from role or self.

History

#1 Updated by Ondřej Pražák 6 months ago

  • Subject changed from Unlimited check not forced for resource filter with no taxonomies to Unlimited check not forced for resource filter with no taxonomies
  • Category set to Authorization
  • Target version set to Team Marek backlog

#2 Updated by Dominik Hlavac Duran 25 days ago

  • Assigned To set to Dominik Hlavac Duran

#3 Updated by The Foreman Bot 12 days ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/4724 added

Also available in: Atom PDF