fix issue #170 which is related to the host user not being part of the Registered Users role

This commit is contained in:
Shaun Walker
2019-11-13 18:39:04 -05:00
parent ffba735aac
commit b4cd038e17
12 changed files with 177 additions and 19 deletions

View File

@ -11,6 +11,8 @@ namespace Oqtane.Models
public string Frequency { get; set; }
public DateTime? StartDate { get; set; }
public bool IsActive { get; set; }
public bool IsExecuting { get; set; }
public DateTime? NextExecution { get; set; }
public int RetentionHistory { get; set; }
public string CreatedBy { get; set; }

View File

@ -10,6 +10,5 @@ namespace Oqtane.Models
public DateTime? FinishDate { get; set; }
public bool? Succeeded { get; set; }
public string Notes { get; set; }
public DateTime? NextExecution { get; set; }
}
}

View File

@ -70,6 +70,18 @@ namespace Oqtane.Shared
}
}
public static string GetFullTypeName(string fullyqualifiedtypename)
{
if (fullyqualifiedtypename.Contains(", Version="))
{
return fullyqualifiedtypename.Substring(0, fullyqualifiedtypename.IndexOf(", Version="));
}
else
{
return fullyqualifiedtypename;
}
}
public static string GetTypeNameLastSegment(string typename, int segment)
{
if (typename.Contains(","))