Skip to content

Commit e10a408

Browse files
committed
fix checking permission
1 parent 804ef35 commit e10a408

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

girderformindlogger/api/v1/cases.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def getCase(self, id):
6969
if appletId not in applets:
7070
applets.append(appletId)
7171

72-
hasPermission = True if len(document['applets']) else False
72+
hasPermission = True if not len(document['applets']) else False
7373
for appletId in document['applets']:
7474
if appletId in applets:
7575
hasPermission = True

0 commit comments

Comments
 (0)