KoogleApp/src/Koogle.Domain/Enums/UserRole.cs

46 lines
1.5 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Koogle.Domain.Enums
{
/// <summary>
/// different user roles within the application.
/// </summary>
/// <remarks>
/// Even without these roles, users can just see content of days and games themselves have participated in.
/// Therefore, an optional connection between users and people within clubs is needed. [] TODO: Link users to a person in a club.
/// </remarks>
public static class UserRole
{
/// <summary>
/// With this role, the user has all rights to create new clubs.
/// </summary>
public const string SuperAdmin = "SuperAdmin";
/// <summary>
/// With this role, the user has administrative rights within a club.
/// </summary>
public const string Admin = "Admin";
/// <summary>
/// With this role, the user can manage the cash book within a club.
/// Rank between Editor and Admin.
/// </summary>
public const string Treasurer = "Kassenwart";
/// <summary>
/// With this role, the user can edit content within a club but does not have administrative rights.
/// </summary>
public const string Editor = "Editor";
/// <summary>
/// With this role, the user can only view content within a club.
/// </summary>
public const string Viewer = "Viewer";
}
}