com.gu.editorial.permissions

client

package client

Permissions client library - retrieves and provides access control based on a permissions service.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. client
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class Permission(name: String, app: String) extends Product with Serializable

  2. sealed trait PermissionAuthorisation extends AnyRef

  3. case class PermissionDeniedException(message: String = "Permission denied") extends Exception with Product with Serializable

  4. case class PermissionsConfig(app: String, all: Seq[Permission], awsCredentials: AWSCredentialsProvider = ..., s3Bucket: String = "permissions-cache", s3BucketPrefix: String = "PROD", s3PermissionsFile: String = "permissions.json", s3Region: Option[String] = scala.None, enablePermissionsStore: Boolean = true) extends Product with Serializable

  5. type PermissionsMap = Map[Permission, PermissionAuthorisation]

  6. trait PermissionsProvider extends AnyRef

  7. class PermissionsStore extends AnyRef

  8. case class PermissionsStoreDisabledException() extends Exception with Product with Serializable

  9. case class PermissionsStoreEmptyException() extends Exception with Product with Serializable

  10. case class PermissionsStoreModel(defaults: Seq[Permission], userOverrides: Map[String, PermissionsMap]) extends Product with Serializable

  11. trait PermissionsStoreProvider extends AnyRef

  12. case class PermissionsUser(userId: String, token: String) extends Product with Serializable

  13. case class SimplePermission(name: String, app: String, defaultValue: Boolean = true) extends Product with Serializable

  14. type SimplePermissionsMap = Map[String, Boolean]

    Simple map for JSON serialisation

Value Members

  1. object Implicits

  2. object Permission extends Serializable

  3. object PermissionDenied extends PermissionAuthorisation with Product with Serializable

  4. object PermissionGranted extends PermissionAuthorisation with Product with Serializable

  5. object PermissionsStoreModel extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped