Project

General

Profile

Bug #18736

Unlimited check not forced for resource filter with no taxonomies

Added by Ondřej Pražák about 3 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Authorization
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

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 (diff)
Added by Dominik Hlavac Duran over 2 years ago

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

History

#1 Updated by Ondřej Pražák about 3 years 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 115

#2 Updated by Dominik Hlavac Duran almost 3 years ago

  • Assignee set to Dominik Hlavac Duran

#3 Updated by The Foreman Bot almost 3 years ago

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

#4 Updated by Anonymous over 2 years ago

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

#5 Updated by Marek Hulán over 2 years ago

  • Legacy Backlogs Release (now unused) set to 296

Also available in: Atom PDF