This is related to a question I posted a few weeks ago, https://answers.nuxeo.com/general/q/2b7e0103f3a84092af278beb46e2dbbf/Can-I-hide-Empty-Trash-from-some-users.
We wanted to hide the "Empty Trash" button from everyone that is not an admin. The solution was great until we realized that users with manage permission could still see the button. We changed our filter, we are currently trying this:
<nuxeo-slot-content name="hardDeleteSelectionAction" slot="TRASH_RESULTS_SELECTION_ACTIONS" order="20">
<template>
<nuxeo-filter document="[[document]]" permission="Everything" user="[[user]]">
<template>
<nuxeo-delete-documents-button documents="[[selectedItems]]" hard></nuxeo-delete-documents-button>
</template>
</nuxeo-filter>
</nuxeo-slot-content>
But we can't get our changes to reflect locally. We have tried to filter to users with ReadWrite as a test and it still didn't change, users with manage could still see the button and when we changed them to edit they couldn't see the button. We tried removing the code entirely and we had the same results. We figure something is cached or somehow stuck but we don't know what to do to get our changes to reflect. Any help on knocking something loose so we can see our changes?