Removes the assignment of the DefaultPermissions property since this is auto assigned in the ctor (and should be assignable)

This commit is contained in:
Shannon
2015-03-03 19:40:37 +11:00
parent 834b780d8e
commit 9a042fbbdf
3 changed files with 2 additions and 5 deletions

View File

@@ -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)