astral-api/Astral.Core/Constants/UserRole.cs

31 lines
636 B
C#
Raw Normal View History

2024-12-11 21:36:30 +01:00
// <copyright file="UserRole.cs" company="alveus.dev">
// Copyright (c) alveus.dev. All rights reserved. Licensed under the MIT License.
// </copyright>
namespace Astral.Core.Constants;
/// <summary>
/// Available user roles.
/// </summary>
public static class UserRole
{
/// <summary>
/// User role.
/// </summary>
public const string User = "user";
/// <summary>
/// Administrator role.
/// </summary>
public const string Admin = "admin";
/// <summary>
/// Available values.
/// </summary>
public static readonly string[] AvailableRoles =
[
User,
Admin
];
}