rama creada apartir de master en j

This commit is contained in:
jrojas
2026-06-26 10:29:23 +02:00
parent 319fd3dfb0
commit c1517fda87
2810 changed files with 1927392 additions and 25392 deletions
@@ -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;