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. final def Value(i: Int, name: String): Value

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

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

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

    Attributes
    protected
    Definition Classes
    Enumeration
  59. object ValueSet extends Serializable

    Definition Classes
    Enumeration
  60. val ViewCollection: Value

  61. val ViewComments: Value

  62. val ViewDataset: Value

  63. val ViewFile: Value

  64. val ViewGeoStream: Value

  65. val ViewMetadata: Value

  66. val ViewRelation: Value

  67. val ViewSection: Value

  68. val ViewSensor: Value

  69. val ViewSpace: Value

  70. val ViewTags: Value

  71. val ViewUser: Value

  72. val ViewVocabulary: Value

  73. val ViewVocabularyTerm: Value

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

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

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

  77. 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.

  78. 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.

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

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

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

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

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

  84. 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

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

    Returns true if the user is listed as a server admin

  86. def clone(): AnyRef

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

  88. lazy val comments: CommentService

  89. lazy val curations: CurationService

  90. lazy val datasets: DatasetService

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

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

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

  94. def finalize(): Unit

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

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

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

  98. def hashCode(): Int

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

    Definition Classes
    Any
  100. final def maxId: Int

    Definition Classes
    Enumeration
  101. lazy val metadatas: MetadataService

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

    Definition Classes
    AnyRef
  103. var nextId: Int

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

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

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

    Definition Classes
    AnyRef
  107. lazy val previews: PreviewService

  108. def readResolve(): AnyRef

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

  110. lazy val sections: SectionService

  111. lazy val spaces: SpaceService

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

    Definition Classes
    AnyRef
  113. def toString(): String

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

  115. def values: ValueSet

    Definition Classes
    Enumeration
  116. lazy val vocabularies: VocabularyService

  117. lazy val vocabularyterms: VocabularyTermService

  118. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  121. 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