rejetto forum
Software => HFS ~ HTTP File Server => Topic started by: funjay on September 03, 2010, 07:41:46 AM
-
ex. the file with "ban" comment will be hided to some users
but some user with upload or delete can see it.
is it possible?
thanks.
-
yes, it's possible.
i didn't test this, but you can try
right click on the root/home > properties > diff template
[file]
{.if|{.or|{.%item-comment% != ban.} | {.get|can upload.} | {.get|can delete.}/or.}
|{:{.$file|back=1.}:}.}
-
thanks for youre reply.
and i add the code into diff template
it does not work, and all the files are listed twice. but the folder is normal.
thanks.
and one user without upload and delete also see the files with comment "ban"
-
there was an error, it was not [+file] but [file]
now i fixed the script.
re-try.
-
thank you very much, it works.
thanks.