rama creada apartir de master en j
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
namespace adas_core.Domain.Models.AppSettings;
|
||||
|
||||
/// <summary>
|
||||
/// Represents the configuration settings related to permissions.
|
||||
/// </summary>
|
||||
public class PermissionSettings
|
||||
{
|
||||
public SourcePermissions Admin { get; set; } = new(
|
||||
@@ -329,6 +332,12 @@ public class PanelPermissionTypes(
|
||||
public bool UseDemoMode { get; set; } = useDemoMode;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Represents a set of user permissions indicating whether the user is allowed to create, update, delete, read, or execute specific operations.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This type captures granular action-level authorization flags, allowing the application to enforce and check individual user capabilities across supported operations.
|
||||
/// </remarks>
|
||||
public class UserActions(bool create, bool update, bool delete, bool read, bool execute)
|
||||
{
|
||||
public bool Create { get; set; } = create;
|
||||
|
||||
Reference in New Issue
Block a user