Bug #18736

Unlimited check not forced for resource filter with no taxonomies

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

Status:Closed
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-
Release1.17.0Release relationshipAuto

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.

Associated revisions

Revision 48dcecbd
Added by Dominik Hlavac 19 days ago

Fixes #18736 - Forced unlimited check for filter with no t (#4724)

History

#1 Updated by Ondřej Pražák 8 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 3 months ago

  • Assigned To set to Dominik Hlavac Duran

#3 Updated by The Foreman Bot 3 months ago

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

#4 Updated by Anonymous 19 days ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#5 Updated by Marek Hulán 18 days ago

  • Release set to 1.17.0

Also available in: Atom PDF