Create delete_operator function
Remove permission related global vars