Can the current SWORD Context permit deposit into the given
collection in the given DSpace Context
IF: the authenticated user is an administrator
AND:
(the on-behalf-of user is an administrator
OR the on-behalf-of user is authorised to ADD
OR the on-behalf-of user is null)
OR IF: the authenticated user is authorised to ADD
AND:
(the on-behalf-of user is an administrator
OR the on-behalf-of user is authorised to ADD
OR the on-behalf-of user is null)
Get an array of all the collections that the current SWORD
context will allow deposit onto in the given DSpace context
Forwards to:
getAllowedCollections(swordContext, null)
See that method for details of the conditions applied
Get an array of all the collections that the current SWORD
context will allow deposit onto in the given DSpace context
IF: the authenticated user is an administrator
AND:
(the on-behalf-of user is an administrator
OR the on-behalf-of user is authorised to ADD
OR the on-behalf-of user is null)
OR IF: the authenticated user is authorised to ADD
AND:
(the on-behalf-of user is an administrator
OR the on-behalf-of user is authorised to ADD
OR the on-behalf-of user is null)
Get an array of all the communities that the current SWORD
context will allow deposit onto in the given DSpace context
The user may submit to a community if the following conditions
are met:
IF: the authenticated user is an administrator
AND:
(the on-behalf-of user is an administrator
OR the on-behalf-of user is authorised to READ
OR the on-behalf-of user is null)
OR IF: the authenticated user is authorised to READ
AND:
(the on-behalf-of user is an administrator
OR the on-behalf-of user is authorised to READ
OR the on-behalf-of user is null)
Get a list of all the items that the current SWORD
context will allow deposit onto in the given DSpace context
IF: the authenticated user is an administrator
AND:
(the on-behalf-of user is an administrator
OR the on-behalf-of user is authorised to WRITE on the item and ADD on the ORIGINAL bundle
OR the on-behalf-of user is null)
OR IF: the authenticated user is authorised to WRITE on the item and ADD on the ORIGINAL bundle
AND:
(the on-behalf-of user is an administrator
OR the on-behalf-of user is authorised to WRITE on the item and ADD on the ORIGINAL bundle
OR the on-behalf-of user is null)
Get an array of all the collections that the current SWORD
context will allow deposit onto in the given DSpace context
The user may submit to a community if the following conditions
are met:
IF: the authenticated user is an administrator
AND:
(the on-behalf-of user is an administrator
OR the on-behalf-of user is authorised to READ
OR the on-behalf-of user is null)
OR IF: the authenticated user is authorised to READ
AND:
(the on-behalf-of user is an administrator
OR the on-behalf-of user is authorised to READ
OR the on-behalf-of user is null)
Obtain the service document for the repository based on the
DSpace context and the SWORD context which must be set for
this object prior to calling this method.
Is the given onBehalfOf user DSpace administrator? This translates
as asking the question of whether the given eperson is a member
of the special DSpace group Administrator, with id 1
Is the authenticated user a DSpace administrator? This translates
as asking the question of whether the given eperson is a member
of the special DSpace group Administrator, with id 1
This class holds information about authenticated users (both the
depositing user and the on-behalf-of user), and their associated
DSpace Context objects.