More dumbfixes
This commit is contained in:
@@ -137,7 +137,7 @@ namespace Swarmops.Frontend.Pages.v5.Admin
|
||||
|
||||
Positions.CreateOrganizationDefaultPositions (newOrganization, titleType);
|
||||
|
||||
Participation.Create (CurrentUser, newOrganization, DateTime.UtcNow.AddYears (2));
|
||||
Participation.Create(CurrentUser, newOrganization, DateTime.MaxValue);
|
||||
|
||||
string successMessage = String.Format (Resources.Pages.Admin.CreateOrganization_Success,
|
||||
Participant.Localized (peopleLabel, TitleVariant.Ship));
|
||||
|
||||
@@ -676,7 +676,12 @@ namespace Swarmops.Frontend.Pages.v5.Public
|
||||
string.Empty, string.Empty, DateTime.MinValue, PersonGender.Unknown);
|
||||
|
||||
newPerson.AddParticipation (Organization.Sandbox, DateTime.MaxValue); // Add membership in Sandbox
|
||||
newPerson.AddRole (RoleType.SystemAdmin, 0, 0); // Add role System Admin
|
||||
|
||||
// Initialize staffing to System and Sandbox with the new user
|
||||
|
||||
Positions.CreateSysadminPositions();
|
||||
Positions.CreateOrganizationDefaultPositions(Organization.Sandbox, PositionTitle.Default);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user