30 lines
636 B
C#
30 lines
636 B
C#
// <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
|
|
];
|
|
}
|