Added user and group checking on delete_grant function