using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Koogle.Domain.Enums { /// /// different user roles within the application. /// /// /// 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. /// public static class UserRole { /// /// With this role, the user has all rights to create new clubs. /// public const string SuperAdmin = "SuperAdmin"; /// /// With this role, the user has administrative rights within a club. /// public const string Admin = "Admin"; /// /// With this role, the user can manage the cash book within a club. /// Rank between Editor and Admin. /// public const string Treasurer = "Kassenwart"; /// /// With this role, the user can edit content within a club but does not have administrative rights. /// public const string Editor = "Editor"; /// /// With this role, the user can only view content within a club. /// public const string Viewer = "Viewer"; } }