api

Permission

object Permission extends Enumeration

List of all permissions used by the system to authorize users.

Linear Supertypes
Enumeration, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Permission
  2. Enumeration
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type Permission = Value

  2. class Val extends Value with Serializable

    Attributes
    protected
    Definition Classes
    Enumeration
    Annotations
    @SerialVersionUID( -3501153230598116017L )
  3. abstract class Value extends Ordered[Value] with Serializable

    Definition Classes
    Enumeration
    Annotations
    @SerialVersionUID( 7091335633555234129L )
  4. class ValueSet extends AbstractSet[Value] with SortedSet[Value] with SortedSetLike[Value, ValueSet] with Serializable

    Definition Classes
    Enumeration

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val AddComment: Value

  7. val AddDatapoints: Value

  8. val AddFile: Value

  9. val AddGeoStream: Value

  10. val AddMetadata: Value

  11. val AddResourceToCollection: Value

  12. val AddResourceToDataset: Value

  13. val AddResourceToSpace: Value

  14. val AddTag: Value

  15. val CreateCollection: Value

  16. val CreateDataset: Value

  17. val CreatePreview: Value

  18. val CreateRelation: Value

  19. val CreateSection: Value

  20. val CreateSensor: Value

  21. val CreateSpace: Value

  22. val CreateVocabulary: Value

  23. val CreateVocabularyTerm: Value

  24. val DeleteCollection: Value

  25. val DeleteComment: Value

  26. val DeleteDataset: Value

  27. val DeleteFile: Value

  28. val DeleteGeoStream: Value

  29. val DeleteMetadata: Value

  30. val DeleteRelation: Value

  31. val DeleteSection: Value

  32. val DeleteSensor: Value

  33. val DeleteSpace: Value

  34. val DeleteTag: Value

  35. val DeleteVocabulary: Value

  36. val DeleteVocabularyTerm: Value

  37. val DownloadFiles: Value

  38. val EditCollection: Value

  39. val EditComment: Value

  40. val EditDataset: Value

  41. val EditFile: Value

  42. val EditLicense: Value

  43. val EditMetadata: Value

  44. val EditSection: Value

  45. val EditSpace: Value

  46. val EditStagingArea: Value

  47. val EditUser: Value

  48. val EditVocabulary: Value

  49. val EditVocabularyTerm: Value

  50. val ExecuteOnDataset: Value

  51. val MultimediaIndexDocument: Value

  52. val PublicDataset: Value

  53. val PublicSpace: Value

  54. var READONLY: Set[Value]

  55. val RemoveResourceFromCollection: Value

  56. val RemoveResourceFromDataset: Value

  57. val RemoveResourceFromSpace: Value

  58. final def Value(i: Int, name: String): Value

    Attributes
    protected
    Definition Classes
    Enumeration
  59. final def Value(name: String): Value

    Attributes
    protected
    Definition Classes
    Enumeration
  60. final def Value(i: Int): Value

    Attributes
    protected
    Definition Classes
    Enumeration
  61. final def Value: Value

    Attributes
    protected
    Definition Classes
    Enumeration
  62. object ValueSet extends Serializable

    Definition Classes
    Enumeration
  63. val ViewCollection: Value

  64. val ViewComments: Value

  65. val ViewDataset: Value

  66. val ViewFile: Value

  67. val ViewGeoStream: Value

  68. val ViewMetadata: Value

  69. val ViewRelation: Value

  70. val ViewSection: Value

  71. val ViewSensor: Value

  72. val ViewSpace: Value

  73. val ViewTags: Value

  74. val ViewUser: Value

  75. val ViewVocabulary: Value

  76. val ViewVocabularyTerm: Value

  77. final def apply(x: Int): Value

    Definition Classes
    Enumeration
  78. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  79. def checkAnonymousPrivatePermissions(permission: Permission, resourceRef: ResourceRef): Boolean

  80. def checkOwner(user: User, resourceRef: ResourceRef): Boolean

    Returns true if the user is the owner of the resource, this function is used in the code for checkPermission as well.

  81. def checkOwner(user: Option[User], resourceRef: ResourceRef): Boolean

    Returns true if the user is the owner of the resource, this function is used in the code for checkPermission as well.

  82. def checkPermission(user: User, permission: Permission, resourceRef: ResourceRef): Boolean

  83. def checkPermission(user: Option[User], permission: Permission, resourceRef: Option[ResourceRef] = None): Boolean

  84. def checkPermission(user: Option[User], permission: Permission, resourceRef: ResourceRef): Boolean

  85. def checkPermission(permission: Permission, resourceRef: ResourceRef)(implicit user: Option[User]): Boolean

  86. def checkPermission(permission: Permission)(implicit user: Option[User]): Boolean

  87. def checkPrivateServer(user: Option[User]): Boolean

    on a private server this will return true iff user logged in, on public server this will always be true

  88. def checkServerAdmin(user: Option[User]): Boolean

    Returns true if the user is listed as a server admin

  89. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  90. lazy val collections: CollectionService

  91. lazy val comments: CommentService

  92. lazy val curations: CurationService

  93. lazy val datasets: DatasetService

  94. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  95. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  96. lazy val files: FileService

  97. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  98. lazy val folders: FolderService

  99. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  100. def getUserByIdentity(identity: User): Option[User]

  101. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  102. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  103. final def maxId: Int

    Definition Classes
    Enumeration
  104. lazy val metadatas: MetadataService

  105. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  106. var nextId: Int

    Attributes
    protected
    Definition Classes
    Enumeration
  107. var nextName: Iterator[String]

    Attributes
    protected
    Definition Classes
    Enumeration
  108. final def notify(): Unit

    Definition Classes
    AnyRef
  109. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  110. lazy val previews: PreviewService

  111. def readResolve(): AnyRef

    Attributes
    protected
    Definition Classes
    Enumeration
  112. lazy val relations: RelationService

  113. lazy val sections: SectionService

  114. lazy val spaces: SpaceService

  115. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  116. def toString(): String

    Definition Classes
    Enumeration → AnyRef → Any
  117. lazy val users: UserService

  118. def values: ValueSet

    Definition Classes
    Enumeration
  119. lazy val vocabularies: VocabularyService

  120. lazy val vocabularyterms: VocabularyTermService

  121. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  122. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  123. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  124. final def withName(s: String): Value

    Definition Classes
    Enumeration

Inherited from Enumeration

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped