template editing permission