bool CheckPermissions( IUser user, string[] permissionCodes, PermissionsCheckMode checkMode, IRole role = null )