fix qc template edit permission