using adas_core.Domain.Enums;

namespace adas_core.Domain;

public class Permissions
{
    public SourcePermissions Write { get; set; } = new()
    {
        Actions = [ActionsEnum.Actions.View, ActionsEnum.Actions.Write]
    };

    public SourcePermissions Read { get; set; } = new()
    {
        Actions = [ActionsEnum.Actions.View]
    };
}

public class SourcePermissions
{
    public List<ActionsEnum.Actions> Actions { get; set; } = [];
}