Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

949 B
Raw Blame
//-----------------------------------------------------------------------
// <copyright file="GroupRole.cs" company="aliasvault">
// Copyright (c) aliasvault. All rights reserved.
// Licensed under the AGPLv3 license. See LICENSE.md file in the project root for full license information.
// </copyright>
//-----------------------------------------------------------------------

namespace AliasServerDb;

/// <summary>
/// Group roles. Lower values mean more privileges: the highest role is 0.
/// </summary>
public enum GroupRole
{
    /// <summary>
    /// The group's owner: everything an admin can do, plus managing the group's plan and deleting the group itself.
    /// </summary>
    Owner = 0,

    /// <summary>
    /// Can invite and remove members and administer the group's shared manifests.
    /// </summary>
    Admin = 1,

    /// <summary>
    /// Can use shared manifests they hold a grant on.
    /// </summary>
    Member = 2,
}