All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.convergencelabs.convergence.server.security.Roles.scala Maven / Gradle / Ivy

/*
 * Copyright (c) 2019 - Convergence Labs, Inc.
 *
 * This file is part of the Convergence Server, which is released under
 * the terms of the GNU General Public License version 3 (GPLv3). A copy
 * of the GPLv3 should have been provided along with this file, typically
 * located in the "LICENSE" file, which is part of this source code package.
 * Alternatively, see  for the
 * full text of the GPLv3 license, if it was not provided.
 */

package com.convergencelabs.convergence.server.security

/**
 * Constants for server roles.
 */
object Roles {

  /**
   * Roles the apply to the server.
   */
  object Server {
    val Developer = "Developer"
    val DomainAdmin = "Domain Admin"
    val ServerAdmin = "Server Admin"
  }

  /**
   * Roles that apply to namespaces.
   */
  object Namespace {
    val Developer = "Developer"
    val DomainAdmin = "Domain Admin"
    val Owner = "Owner"
  }

  /**
   * Roles that apply to domains.
   */
  object Domain {
    val Developer = "Developer"
    val DomainAdmin = "Domain Admin"
    val Owner = "Owner"
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy