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 DeleteCollection: Value

  23. val DeleteComment: Value

  24. val DeleteDataset: Value

  25. val DeleteFile: Value

  26. val DeleteGeoStream: Value

  27. val DeleteMetadata: Value

  28. val DeleteRelation: Value

  29. val DeleteSection: Value

  30. val DeleteSensor: Value

  31. val DeleteSpace: Value

  32. val DeleteTag: Value

  33. val DownloadFiles: Value

  34. val EditCollection: Value

  35. val EditComment: Value

  36. val EditDataset: Value

  37. val EditFile: Value

  38. val EditLicense: Value

  39. val EditMetadata: Value

  40. val EditSection: Value

  41. val EditSpace: Value

  42. val EditStagingArea: Value

  43. val EditUser: Value

  44. val ExecuteOnDataset: Value

  45. val MultimediaIndexDocument: Value

  46. val PublicDataset: Value

  47. val PublicSpace: Value

  48. var READONLY: Set[Value]

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

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

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

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

    Attributes
    protected
    Definition Classes
    Enumeration
  53. object ValueSet extends Serializable

    Definition Classes
    Enumeration
  54. val ViewCollection: Value

  55. val ViewComments: Value

  56. val ViewDataset: Value

  57. val ViewFile: Value

  58. val ViewGeoStream: Value

  59. val ViewMetadata: Value

  60. val ViewRelation: Value

  61. val ViewSection: Value

  62. val ViewSensor: Value

  63. val ViewSpace: Value

  64. val ViewTags: Value

  65. val ViewUser: Value

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

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

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

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

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

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

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

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

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

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

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

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

    Returns true if the user is listed as a server admin

  78. def clone(): AnyRef

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

  80. lazy val comments: CommentService

  81. lazy val curations: CurationService

  82. lazy val datasets: DatasetService

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

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

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

  86. def finalize(): Unit

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

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

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

  90. def hashCode(): Int

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

    Definition Classes
    Any
  92. final def maxId: Int

    Definition Classes
    Enumeration
  93. lazy val metadatas: MetadataService

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

    Definition Classes
    AnyRef
  95. var nextId: Int

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

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

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

    Definition Classes
    AnyRef
  99. lazy val previews: PreviewService

  100. def readResolve(): AnyRef

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

  102. lazy val sections: SectionService

  103. lazy val spaces: SpaceService

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

    Definition Classes
    AnyRef
  105. def toString(): String

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

  107. def values: ValueSet

    Definition Classes
    Enumeration
  108. final def wait(): Unit

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

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

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