public static enum Permissions.Right extends Enum<Permissions.Right>
READ
right 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 READ
permissions lest they no longer be revokable. As of 4.4, this also permits
certain view-based linkages of objects (e.g. RenderingDef, Thumbnail).
The ANNOTATE
right allows a user with the given role to link
annotations and other non-core data to an entity.
The WRITE
right 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 |
---|---|
static Permissions.Right |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Permissions.Right[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
Version: 5.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.