ECMS-5822: Fix the problem can add dupliacate permission