How to restrict public access to document shared by external link ?

cancel
Showing results for 
Search instead for 
Did you mean: 
benjamindupont
Member II

Re: How to restrict public access to document shared by external link ?

Thanks a lot Cesar for this tip, it works well with a rule on the folder !

To conclude, could you just advise me on how to reduce the scope on an precise Alfresco site, in the search with a smart folder (json) and in the rule to delete the shared link (js) ?

Best regards,

Benjamin

cesarista
Customer

Re: How to restrict public access to document shared by external link ?

Hi Benjamin:

In the smart folder query you can do something like this:

zk-smart-folder-templates/qsharedFolder.json at master · CesarCapillas/zk-smart-folder-templates · G... 

This makes it to apply under the actual path when the smart folder is applied (for example in a site).

In the script you may include something like:

search.luceneSearch('+PATH:"/app:company_home/st:sites/cm:<short-site-name>/cm:documentlibrary" +ASPECT:"qshare:shared"')

Regards.

--C.