Skip to content

Commit

Permalink
Correction permissions observation
Browse files Browse the repository at this point in the history
  • Loading branch information
amandine-sahl committed Dec 6, 2024
1 parent f9f08f5 commit b5eefa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/gn_module_monitoring/monitoring/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def has_instance_permission(self, scope):
if self.id_base_visit:
return DB.session.get(
TMonitoringVisits, self.id_base_visit
).has_instance_permission(scope, True)
).has_instance_permission(scope)
elif scope == 3:
return True

Expand Down

0 comments on commit b5eefa1

Please sign in to comment.