The CreatorCon Call for Content is officially open! Get started here.

I want to disallow users from attaching or downloading files.

RyoyaFukuda
Tera Contributor

Hi, all
I have a group called "test" with an admin role.
I want to make sure that users in the "test" group cannot attach or download files.
How can I implement this?

1 REPLY 1

Danish Bhairag2
Tera Sage

Hi @RyoyaFukuda ,

 

You can create two ACLs for this Create & Read. In that u can write below script

 

if(gs.getUser().isMemberOf('your_group name'))

{

answer =true;

}

else

{

answer=false

}

 

This will be applicable for all the attachments.

 

Thanks,

Danish