Removes the assignment of the DefaultPermissions property since this is auto assigned in the ctor (and should be assignable)
This commit is contained in:
@@ -32,9 +32,7 @@ namespace Umbraco.Core.Persistence.Factories
|
||||
IsLockedOut = dto.NoConsole,
|
||||
IsApproved = dto.Disabled == false,
|
||||
Email = dto.Email,
|
||||
Language = dto.UserLanguage,
|
||||
//NOTE: The default permission come from the user type's default permissions
|
||||
DefaultPermissions = _userType.Permissions
|
||||
Language = dto.UserLanguage
|
||||
};
|
||||
|
||||
foreach (var app in dto.User2AppDtos)
|
||||
|
||||
Reference in New Issue
Block a user