Block users acces of "My Files"

Showing results for 
Search instead for 
Did you mean: 
Active Member

Re: Block users acces of "My Files"


First of all, you should override the following out-of-the-box package "org.alfresco.share.header" by your custom one.

To achieve that overriding, you should use surf module extension (for more info:

And then, all what you have to do is add this line 

widgetUtils.deleteObjectFromArray(model.jsonModel, "id", "HEADER_MY_FILES");        

in your custom webScript controller "share-header.get.js"

That's all what you need to hide"MY FILES" from header.

Peace up,