add check perm feature