Skip to content
This repository was archived by the owner on Sep 29, 2023. It is now read-only.

Commit 78b9806

Browse files
committed
added permissons check
1 parent 4424c13 commit 78b9806

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

prototypes/tree.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,9 @@ def pathToKey( self, key, *args, **kwargs ):
179179
if not nodeSkel.fromDB( parentdir ):
180180
break
181181

182+
if not self.canView( "node", nodeSkel ):
183+
continue
184+
182185
res.append( self.render.collectSkelData( nodeSkel ) )
183186

184187
return self.render.view( res[ : : -1 ] )

0 commit comments

Comments
 (0)