Role.java

/*
 * Copyright © 2023-2025 The CTAN Team and individual authors
 *
 * This file is distributed under the 3-clause BSD license.
 * See file LICENSE for details.
 */

package org.ctan.site.domain.account;

/**
 * The enum <code>Role</code> contains the role for a user.
 *
 * @author <a href="mailto:gene@ctan.org">Gerd Neugebauer</a>
 */
public enum Role {

    /**
     * The field <code>ADMIN</code> contains the role as administrator.
     */
    ADMIN,
    /**
     * The field <code>EDITOR</code> contains the role of an editor.
     */
    EDITOR,
    /**
     * The field <code>MESSAGE_ADMIN</code> contains the the role of a user who
     * may edit the messages.
     */
    MESSAGE_ADMIN,
    /**
     * The field <code>UPLOAD_MANAGER</code> contains the role of an upload
     * manager.
     */
    UPLOAD_MANAGER;
}