Skip to content

Commit a06984a

Browse files
authored
Merge pull request DefectDojo#268 from bancolombia/feature/bugfix_red_team
bugfix redteam
2 parents 774549e + d44ed0d commit a06984a

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)