# Disable watch\_read from meta.watch plugin

**URL:** <https://forum.pydio.com/t/disable-watch-read-from-meta-watch-plugin/395>\
**Category:** Pydio 8\
**Tags:** linux, apache, php70\
**Created:** [January 3, 2018, 9:28am UTC](https://forum.pydio.com/t/disable-watch-read-from-meta-watch-plugin/395 "2018-01-03T09:28:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![netco](https://avatars.discourse-cdn.com/v4/letter/n/898d66/32.png) [@netco](https://forum.pydio.com/u/netco)\
**Post date:** [January 3, 2018, 9:28am UTC](https://forum.pydio.com/t/disable-watch-read-from-meta-watch-plugin/395/1 "2018-01-03T09:28:15Z")

</div>

Hi,  
I’m trying to disable the ability to monitor files/folders for accessing/reading them, but keep the watch-change feature.  
My client wants his customers only to be able to watch the changes made to files and not the reading of files.

I’ve already tried to disable several occurances of watch-read in /usr/share/pydio/plugins/meta.watch and considered to delete the cache too but still no effect on the functionality.  
It would be enough to hide the subcontextmenu-button of the function, but I couldn’t find any class or ID.

Does someone have a hint for me where I have to look?

Thanks!  
Best regards

---

<div class="post-metadata">

**Author:** ![charles](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/charles/32/3_2.png) [@charles](https://forum.pydio.com/u/charles)\
**Post date:** [January 8, 2018, 5:34pm UTC](https://forum.pydio.com/t/disable-watch-read-from-meta-watch-plugin/395/2 "2018-01-08T17:34:42Z")

</div>

hi @netco,  
Look for the actions inside the manifest file of the meta.watch plugin.  
You should be able to disable the action that appears in the menu  
-c

---

<div class="post-metadata">

**Author:** ![netco](https://avatars.discourse-cdn.com/v4/letter/n/898d66/32.png) [@netco](https://forum.pydio.com/u/netco)\
**Post date:** [January 12, 2018, 8:53am UTC](https://forum.pydio.com/t/disable-watch-read-from-meta-watch-plugin/395/3 "2018-01-12T08:53:50Z")

</div>

Hi Charles,

thanks for the answer, but I could not get it to work.  
I just want to deactivate a submenu-item, “watch\_read”.  
In the manifest.xml, the submenu is included via

```
<subMenu>
     <dynamicBuilder module="WatcherActions.Listeners.dynamicBuilder"/>
</subMenu>

```

I found the dynamicBuilder in ./res/build/WatcherActions.js and in ./res/js/WatcherActions.js and tried to comment the watch\_read-block out, but it didn’t work (plugin cache was deleted).  
I just deactivated the whole block:

```
/*
       builderMenuItems.push({
           name:MessageHash["meta.watch.9"],
           alt:MessageHash["meta.watch." + (n.isLeaf()?"10":"10b")],
           isDefault : (metaValue && metaValue == "META_WATCH_READ"),
           image:ResourcesManager.resolveImageSource('meta.watch/ICON_SIZE/watch'+((metaValue && metaValue == "META_WATCH_READ")?'':'_faded')+'.png', '', 22),
           callback:function(e){
               this.apply('watch_read');
           }.bind(this)
       });
*/

```

Any hints?
