Files
git.stella-ops.org/inspiration/Ablera.Serdica.Authorization/Models/RolesConfig.cs
root df5984d07e
Some checks failed
Build Test Deploy / build-test (push) Has been cancelled
Build Test Deploy / authority-container (push) Has been cancelled
Build Test Deploy / docs (push) Has been cancelled
Build Test Deploy / deploy (push) Has been cancelled
Docs CI / lint-and-preview (push) Has been cancelled
up
2025-10-10 06:53:40 +00:00

15 lines
728 B
C#

using System.Collections.Generic;
namespace Ablera.Serdica.Authorization.Models;
public class RolesConfig
{
public string[] UserRoles { get; init; } = ["USER", "UR_USER"];
public string[] AgentRoles { get; init; } = ["AGENT", "UR_AGENT"];
public string[] OrganizationAdminRoles { get; init; } = ["ORGANIZATION_ADMIN", "UR_LDAP_ADMIN", "UR_ORG_ADMIN"];
public string[] OperationsRoles { get; init; } = ["OPERATIONS", "UR_OPERATIONS"];
public string[] UnderwriterRoles { get; init; } = ["UNDERWRITER", "UR_UNDERWRITER"];
public string[] SuperUserRoles { get; init; } = ["ADMIN", "DBA", "GOD", "UR_GOD"];
public string[] ExclusiveAgentRoles { get; init; } = ["UR_EXCLUSIVE_AGENT"];
}