ban "setPermission" function