Acutally, I was wrong. allowedRolesAndUsers is normally an attribute
Added a clear method so that we can clear the index, including the shadowtree