fix issue #170 which is related to the host user not being part of the Registered Users role
This commit is contained in:
@ -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; }
|
||||
|
@ -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; }
|
||||
}
|
||||
}
|
||||
|
@ -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(","))
|
||||
|
Reference in New Issue
Block a user