BZ-9196 - added delete permissions check