add support for API permissions at the UI layer - including ability to delegate user, role, profile management
This commit is contained in:
@ -1,23 +0,0 @@
|
||||
namespace Oqtane.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// API management
|
||||
/// </summary>
|
||||
public class Api
|
||||
{
|
||||
/// <summary>
|
||||
/// Reference to a <see cref="Site"/>
|
||||
/// </summary>
|
||||
public int SiteId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The Entity Name
|
||||
/// </summary>
|
||||
public string EntityName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The permissions for the entity
|
||||
/// </summary>
|
||||
public string Permissions { get; set; }
|
||||
}
|
||||
}
|
@ -5,13 +5,18 @@ namespace Oqtane.Models
|
||||
/// </summary>
|
||||
public class PermissionString
|
||||
{
|
||||
/// <summary>
|
||||
/// A term describing the entity
|
||||
/// </summary>
|
||||
public string EntityName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// A term describing a set of permissions
|
||||
/// </summary>
|
||||
public string PermissionName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The permissions addressed with this name
|
||||
/// The permissions
|
||||
/// </summary>
|
||||
public string Permissions { get; set; }
|
||||
}
|
||||
|
@ -4,8 +4,8 @@ namespace Oqtane.Shared
|
||||
{
|
||||
public class Constants
|
||||
{
|
||||
public static readonly string Version = "3.2.1";
|
||||
public const string ReleaseVersions = "1.0.0,1.0.1,1.0.2,1.0.3,1.0.4,2.0.0,2.0.1,2.0.2,2.1.0,2.2.0,2.3.0,2.3.1,3.0.0,3.0.1,3.0.2,3.0.3,3.1.0,3.1.1,3.1.2,3.1.3,3.1.4,3.2.0,3.2.1";
|
||||
public static readonly string Version = "3.3.0";
|
||||
public const string ReleaseVersions = "1.0.0,1.0.1,1.0.2,1.0.3,1.0.4,2.0.0,2.0.1,2.0.2,2.1.0,2.2.0,2.3.0,2.3.1,3.0.0,3.0.1,3.0.2,3.0.3,3.1.0,3.1.1,3.1.2,3.1.3,3.1.4,3.2.0,3.3.0";
|
||||
public const string PackageId = "Oqtane.Framework";
|
||||
public const string ClientId = "Oqtane.Client";
|
||||
public const string UpdaterPackageId = "Oqtane.Updater";
|
||||
@ -74,8 +74,6 @@ namespace Oqtane.Shared
|
||||
|
||||
public static readonly string MauiUserAgent = "MAUI";
|
||||
|
||||
public static readonly string RequireEntityId = "RequireEntityId";
|
||||
|
||||
// Obsolete constants
|
||||
|
||||
const string RoleObsoleteMessage = "Use the corresponding member from Oqtane.Shared.RoleNames";
|
||||
|
Reference in New Issue
Block a user