public static enum Permissions.Right extends Enum<Permissions.Right>
READright allows for a user with the given role to retrieve an entity. This means that all fields of that entity can be retrieved. Care is taken by the server, that once an entity was readable and another entity was attached to it, that further READ access will not throw an exception. In turn, care should be taken by users to not overly soon grant
READpermissions lest they no longer be revokable. As of 4.4, this also permits certain view-based linkages of objects (e.g. RenderingDef, Thumbnail). The
ANNOTATEright allows a user with the given role to link annotations and other non-core data to an entity. The
WRITEright allows for a user with the given role to alter the fields of an entity, including changing the contents of its collection, assigning it to another collection, or deleting it. This does not include changing the fields of those linked entities, only whether or not they are members of the given collection. Note: if WRITE is granted, ANNOTATE will also be granted.
|Modifier and Type||Method and Description|
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in the order they are declared.
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static final Permissions.Right ANNOTATE
public static final Permissions.Right WRITE
public static final Permissions.Right READ
public static Permissions.Right values()
for (Permissions.Right c : Permissions.Right.values()) System.out.println(c);
public static Permissions.Right valueOf(String name)
Copyright © 2016 The University of Dundee & Open Microscopy Environment. All Rights Reserved.