Fix RolePermissionLogic