Removing permission from template deployment