Skip to content

Commit d44ed0d

Browse files
committed
bugfix redteam
1 parent 774549e commit d44ed0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dojo/authorization/exclusive_permissions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def user_has_exclusive_permission_product_or_404(
183183
obj: object,
184184
permission: Permissions) -> bool:
185185

186-
if settings.ENABLE_FILTER_FOR_TAG_RED_TEAM:
186+
if settings.ENABLE_FILTER_FOR_TAG_RED_TEAM is False:
187187
return True
188188

189189
if user is None:

0 commit comments

Comments
 (0)