Version: 5.1.2-ice35-b45

OmeroBlitz Api
Home Previous Up Next Index

omero::constants::permissions

Overview

module permissions

Used by JobHandle as the status of jobs

Constant Index

ANNOTATERESTRICTION
Index into the model::Permissions::restrictions api::BoolArray field to test whether or not the annotate restriction has been applied to the current object.
BINARYACCESS
Extended restriction name which may be applied to images and other downloadable materials.
DELETERESTRICTION
Index into the model::Permissions::restrictions api::BoolArray field to test whether or not the delete restriction has been applied to the current object.
EDITRESTRICTION
Index into the model::Permissions::restrictions api::BoolArray field to test whether or not the edit restriction has been applied to the current object.
LINKRESTRICTION
Index into the model::Permissions::restrictions api::BoolArray field to test whether or not the link restriction has been applied to the current object.

Constants

const int ANNOTATERESTRICTION = 3;

Index into the model::Permissions::restrictions api::BoolArray field to test whether or not the annotate restriction has been applied to the current object.

const string BINARYACCESS = "RESTRICT-BINARY-ACCESS";

Extended restriction name which may be applied to images and other downloadable materials. This string can also be found in the ome.security.policy.BinaryAccessPolicy class.

const int DELETERESTRICTION = 2;

Index into the model::Permissions::restrictions api::BoolArray field to test whether or not the delete restriction has been applied to the current object.

const int EDITRESTRICTION = 1;

Index into the model::Permissions::restrictions api::BoolArray field to test whether or not the edit restriction has been applied to the current object.

const int LINKRESTRICTION = 0;

Index into the model::Permissions::restrictions api::BoolArray field to test whether or not the link restriction has been applied to the current object.


Home Previous Up Next Index