Version: 5.4.10-ice35-b105

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.
CHGRPRESTRICTION
Index into the model::Permissions::restrictions api::BoolArray field to test whether or not the chgrp restriction has been applied to the current object.
CHOWNRESTRICTION
Index into the model::Permissions::restrictions api::BoolArray field to test whether or not the chown restriction has been applied to the current object.
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 CHGRPRESTRICTION = 4;

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

const int CHOWNRESTRICTION = 5;

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

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