Metadata

Fält och begränsningar:

Det som står listat här är nameInData. OBS: LibrisId används inte i DiVA powered by Cora.

Organisation


organisation har:


rootOrganisation


topOrganisation


Skall topOrganisation ha earlierOrganisation eller ej?
topOrganisation har :


subOrganisation


subOrganisation har :


Test av recordType för organisation

Organisation

Läs recordType för den abstracta organisation via REST API.

Läs posttyp Organisation


RecordEndpointFixture
authToken type id testReadRecord? getStatusType?
$adminAuthToken recordType organisation OK

Läs topnivå metadatagruppen för en ny organisation, och kontrollera att den har rätt barn

Kontrollera barnen till organisationNewGroup


Läs in metadatagruppen för senare kontroll

RecordEndpointFixture
type id testReadRecordAndStoreJson?
metadata organisationNewGroup

Kontrollera barnen

MetadataLinkFixture
linkedRecordType linkedRecordId getRepeatMin? getRepeatMax? getRecordPartConstraint?
metadata recordInfoDivaAutogeneratedNewGroup 1 1 noRestrictions
metadata divaOrganisationNameGroup 1 1 noRestrictions
metadata divaOrganisationAlternativeNameGroup 1 1 noRestrictions
metadata organisationAddressGroup 0 1 noRestrictions
metadata divaOrganisationURLTextVar 0 1 noRestrictions
metadata divaOrganisationOrgTypeCollectionVar 1 1 noRestrictions
metadata divaOrganisationOrgCodeTextVar 0 1 noRestrictions
metadata divaOrganisationOrgNumberTextVar 0 1 noRestrictions
metadata divaOrganisationParentOrgGroup 0 X noRestrictions
metadata earlierOrganisationGroup 0 X noRestrictions
metadata divaOrganisationClosedTextVar 0 1 noRestrictions
metadata domainCollectionVar 1 1
metadata doctoralDegreeGrantorCollectionVar 0 1






Läs topnivå metadatagruppen för en befintlig organisation, och kontrollera att den har rätt barn

Kontrollera barnen till organisationGroup


Läs in metadatagruppen för senare kontroll

RecordEndpointFixture
type id testReadRecordAndStoreJson?
metadata organisationGroup

Kontrollera barnen

MetadataLinkFixture
linkedRecordType linkedRecordId getRepeatMin? getRepeatMax? getRecordPartConstraint?
metadata recordInfoDefaultOrganisationGroup 1 1 noRestrictions
metadata divaOrganisationNameGroup 1 1 noRestrictions
metadata divaOrganisationAlternativeNameGroup 1 1 noRestrictions
metadata organisationAddressGroup 0 1 noRestrictions
metadata divaOrganisationURLTextVar 0 1 noRestrictions
metadata divaOrganisationOrgTypeCollectionVar 1 1 noRestrictions
metadata divaOrganisationOrgCodeTextVar 0 1 noRestrictions
metadata divaOrganisationOrgNumberTextVar 0 1 noRestrictions
metadata divaOrganisationParentOrgGroup 0 X noRestrictions
metadata earlierOrganisationGroup 0 X noRestrictions
metadata divaOrganisationClosedTextVar 0 1 noRestrictions
metadata doctoralDegreeGrantorCollectionVar 0 1 noRestrictions






rootOrganisation

Läs recordType för rootOrganisation via REST API.

Läs posttyp rootOrganisation


RecordEndpointFixture
authToken type id testReadRecord? getStatusType?
$adminAuthToken recordType organisation OK

Läs topnivå metadatagruppen för en ny rotorganisation, och kontrollera att den har rätt barn

Kontrollera barnen till rootOrganisationNewGroup


Läs in metadatagruppen för senare kontroll

RecordEndpointFixture
type id testReadRecordAndStoreJson?
metadata rootOrganisationNewGroup

Kontrollera barnen

MetadataLinkFixture
linkedRecordType linkedRecordId getRepeatMin? getRepeatMax? getRecordPartConstraint?
metadata recordInfoDivaAutogeneratedNewGroup 1 1 noRestrictions
metadata divaOrganisationNameGroup 1 1 noRestrictions
metadata divaOrganisationAlternativeNameGroup 1 1 noRestrictions
metadata divaOrganisationClosedTextVar 0 1 noRestrictions
metadata domainCollectionVar 1 1

Läs topnivå metadatagruppen för en befintlig rotorganisation, och kontrollera att den har rätt barn

Kontrollera barnen till rootOrganisationGroup


Läs in metadatagruppen för senare kontroll

RecordEndpointFixture
type id testReadRecordAndStoreJson?
metadata rootOrganisationGroup

Kontrollera barnen

MetadataLinkFixture
linkedRecordType linkedRecordId getRepeatMin? getRepeatMax? getRecordPartConstraint?
metadata recordInfoRootOrganisationGroup 1 1 noRestrictions
metadata divaOrganisationNameGroup 1 1 noRestrictions
metadata divaOrganisationAlternativeNameGroup 1 1 noRestrictions
metadata divaOrganisationClosedTextVar 0 1 noRestrictions

topOrganisation

Läs recordType för topOrganisation via REST API.

Läs posttyp topOrganisation


RecordEndpointFixture
authToken type id testReadRecord? getStatusType?
$adminAuthToken recordType organisation OK

Läs topnivå metadatagruppen för en ny topnivåorganisation, och kontrollera att den har rätt barn

Kontrollera barnen till topOrganisationNewGroup


Läs in metadatagruppen för senare kontroll

RecordEndpointFixture
type id testReadRecordAndStoreJson?
metadata topOrganisationNewGroup

Kontrollera barnen

MetadataLinkFixture
linkedRecordType linkedRecordId getRepeatMin? getRepeatMax? getRecordPartConstraint?
metadata recordInfoDivaAutogeneratedNewGroup 1 1 noRestrictions
metadata divaOrganisationNameGroup 1 1 noRestrictions
metadata divaOrganisationAlternativeNameGroup 1 1 noRestrictions
metadata organisationAddressGroup 0 1 noRestrictions
metadata divaOrganisationURLTextVar 0 1 noRestrictions
metadata divaOrganisationOrgTypeCollectionVar 1 1 noRestrictions
metadata divaOrganisationOrgCodeTextVar 0 1 noRestrictions
metadata divaOrganisationOrgNumberTextVar 0 1 noRestrictions
metadata organisationRootParentOrgGroup 0 1 noRestrictions
metadata earlierOrganisationGroup 0 X noRestrictions
metadata divaOrganisationClosedTextVar 0 1 noRestrictions
metadata domainCollectionVar 1 1
metadata doctoralDegreeGrantorCollectionVar 1 1









Läs topnivå metadatagruppen för en befintlig topnivåorganisation, och kontrollera att den har rätt barn

Kontrollera barnen till topOrganisationGroup


Läs in metadatagruppen för senare kontroll

RecordEndpointFixture
type id testReadRecordAndStoreJson?
metadata topOrganisationGroup

Kontrollera barnen

MetadataLinkFixture
linkedRecordType linkedRecordId getRepeatMin? getRepeatMax? getRecordPartConstraint?
metadata recordInfoOrganisationGroup 1 1 noRestrictions
metadata divaOrganisationNameGroup 1 1 noRestrictions
metadata divaOrganisationAlternativeNameGroup 1 1 noRestrictions
metadata organisationAddressGroup 0 1 noRestrictions
metadata divaOrganisationURLTextVar 0 1 noRestrictions
metadata divaOrganisationOrgTypeCollectionVar 1 1 noRestrictions
metadata divaOrganisationOrgCodeTextVar 0 1 noRestrictions
metadata divaOrganisationOrgNumberTextVar 0 1 noRestrictions
metadata organisationRootParentOrgGroup 0 1 noRestrictions
metadata earlierOrganisationGroup 0 X noRestrictions
metadata divaOrganisationClosedTextVar 0 1 noRestrictions
metadata doctoralDegreeGrantorCollectionVar 1 1 noRestrictions

subOrganisation

Läs recordType för subOrganisation via REST API.

Läs posttyp subOrganisation


RecordEndpointFixture
authToken type id testReadRecord? getStatusType?
$adminAuthToken recordType organisation OK

Läs topnivå metadatagruppen för en ny organisation, och kontrollera att den har rätt barn

Kontrollera barnen till subOrganisationNewGroup


Läs in metadatagruppen för senare kontroll

RecordEndpointFixture
type id testReadRecordAndStoreJson?
metadata subOrganisationNewGroup

Kontrollera barnen

MetadataLinkFixture
linkedRecordType linkedRecordId getRepeatMin? getRepeatMax? getRecordPartConstraint?
metadata recordInfoDivaAutogeneratedNewGroup 1 1 noRestrictions
metadata divaOrganisationNameGroup 1 1 noRestrictions
metadata divaOrganisationAlternativeNameGroup 1 1 noRestrictions
metadata organisationAddressGroup 0 1 noRestrictions
metadata divaOrganisationURLTextVar 0 1 noRestrictions
metadata divaOrganisationOrgTypeCollectionVar 1 1 noRestrictions
metadata divaOrganisationOrgCodeTextVar 0 1 noRestrictions
metadata divaOrganisationParentOrgGroup 0 X noRestrictions
metadata earlierOrganisationGroup 0 X noRestrictions
metadata divaOrganisationClosedTextVar 0 1 noRestrictions









Läs topnivå metadatagruppen för en befintlig organisation, och kontrollera att den har rätt barn

Kontrollera barnen till subOrganisationGroup


Läs in metadatagruppen för senare kontroll

RecordEndpointFixture
type id testReadRecordAndStoreJson?
metadata subOrganisationGroup

Kontrollera barnen

MetadataLinkFixture
linkedRecordType linkedRecordId getRepeatMin? getRepeatMax? getRecordPartConstraint?
metadata recordInfoOrganisationGroup 1 1 noRestrictions
metadata divaOrganisationNameGroup 1 1 noRestrictions
metadata divaOrganisationAlternativeNameGroup 1 1 noRestrictions
metadata organisationAddressGroup 0 1 noRestrictions
metadata divaOrganisationURLTextVar 0 1 noRestrictions
metadata divaOrganisationOrgTypeCollectionVar 1 1 noRestrictions
metadata divaOrganisationOrgCodeTextVar 0 1 noRestrictions
metadata divaOrganisationParentOrgGroup 0 X noRestrictions
metadata earlierOrganisationGroup 0 X noRestrictions
metadata divaOrganisationClosedTextVar 0 1 noRestrictions









Grupper som används av grupperna ovan

Kontrollera nivå två som används i grupperna ovan (recordInfoOrganisationGroup och organisationAddressGroup)


Läs in metadatagruppen för recordInfo för senare kontroll

RecordEndpointFixture
type id testReadRecordAndStoreJson?
metadata recordInfoOrganisationGroup

Kontrollera barnen

MetadataLinkFixture
linkedRecordType linkedRecordId getRepeatMin? getRepeatMax? getRecordPartConstraint?
metadata selectableCollectionVar 1 1 noRestrictions
metadata domainCollectionVar 1 1 write

Läs in metadatagruppen för organisationRootParentOrgGroup för senare kontroll

RecordEndpointFixture
type id testReadRecordAndStoreJson?
metadata organisationRootParentOrgGroup

Kontrollera barnen

MetadataLinkFixture
linkedRecordType linkedRecordId getRepeatMin? getRepeatMax? getRecordPartConstraint?
metadata rootOrganisationLink 0 1 noRestrictions

Läs in metadatagruppen för adress för senare kontroll

RecordEndpointFixture
type id testReadRecordAndStoreJson?
metadata organisationAddressGroup

Kontrollera barnen

MetadataLinkFixture
linkedRecordType linkedRecordId getRepeatMin? getRepeatMax? getRecordPartConstraint?
metadata divaOrganisationBoxTextVar 0 1 noRestrictions
metadata divaOrganisationStreetTextVar 0 1 noRestrictions
metadata divaOrganisationPostcodeTextVar 0 1 noRestrictions
metadata divaOrganisationCityTextVar 0 1 noRestrictions
metadata divaOrganisationCountryCollectionVar 0 1 noRestrictions

Läs in metadatagruppen för alternativNamn för senare kontroll

RecordEndpointFixture
type id testReadRecordAndStoreJson?
metadata divaOrganisationAlternativeNameGroup

Kontrollera barnen

MetadataLinkFixture
linkedRecordType linkedRecordId getRepeatMin? getRepeatMax? getRecordPartConstraint?
metadata divaOrganisationNameTextVar 1 1 noRestrictions
metadata engLanguageCollectionVar 1 1 noRestrictions

Roller

Notera att rättigheterna som kontrolleras i det här avsnittet gäller, vilka rättigheter man har på postTyperna inte enstaka poster. Rättigheterna för enstaka poster kontrolleras under de olika testerna för rättigheter så som read, update, etc.

SystemAdmin

SystemAdmin har tillgång till validate, list och search för organisations postTyperna

Kontrollera de actions systemAdmin får med i recordType för organisation


variable defined: currentAuthToken=$systemAdminAuthToken
variable defined: currentRecordType=organisation
variable defined: expectedPermissionResult=Action update is missing. Action delete is missing. Action index is missing. Action create is missing. Action validate is missing.
ActionComparerFixture
authToken type id actions testReadAndStoreRecord? testCheckActions?
$systemAdminAuthToken recordType organisation {"actions":["read","update", "delete", "index", "read_incoming_links", "create", "validate", "list", "search", "batch_index"]} Action update is missing. Action delete is missing. Action index is missing. Action create is missing. Action validate is missing.
variable defined: currentRecordType=rootOrganisation
variable defined: expectedPermissionResult=Action update is missing. Action delete is missing. Action index is missing. Action create is missing.
ActionComparerFixture
authToken type id actions testReadAndStoreRecord? testCheckActions?
$systemAdminAuthToken recordType rootOrganisation {"actions":["read","update", "delete", "index", "read_incoming_links", "create", "validate", "list", "search", "batch_index"]} Action update is missing. Action delete is missing. Action index is missing. Action create is missing.
variable defined: currentRecordType=topOrganisation
variable defined: expectedPermissionResult=Action update is missing. Action delete is missing. Action index is missing. Action create is missing.
ActionComparerFixture
authToken type id actions testReadAndStoreRecord? testCheckActions?
$systemAdminAuthToken recordType topOrganisation {"actions":["read","update", "delete", "index", "read_incoming_links", "create", "validate", "list", "search", "batch_index"]} Action update is missing. Action delete is missing. Action index is missing. Action create is missing.
variable defined: currentRecordType=subOrganisation
variable defined: expectedPermissionResult=Action update is missing. Action delete is missing. Action index is missing. Action create is missing.
ActionComparerFixture
authToken type id actions testReadAndStoreRecord? testCheckActions?
$systemAdminAuthToken recordType subOrganisation {"actions":["read","update", "delete", "index", "read_incoming_links", "create", "validate", "list", "search", "batch_index"]} Action update is missing. Action delete is missing. Action index is missing. Action create is missing.

DomainAdmin

DomainAdmin har tillgång till validate och search för subOrganisations och search för root- och topOrganisationsposttyperna

Kontrollera de actions domainAdmin får med i recordType för organisation


variable defined: currentAuthToken=$domainAdminUUAuthToken
variable defined: currentRecordType=organisation
variable defined: expectedPermissionResult=Action update is missing. Action delete is missing. Action index is missing. Action create is missing. Action validate is missing. Action list is missing. Action batch_index is missing.
ActionComparerFixture
authToken type id actions testReadAndStoreRecord? testCheckActions?
$domainAdminUUAuthToken recordType organisation {"actions":["read","update", "delete", "index", "read_incoming_links", "create", "validate", "list", "search", "batch_index"]} Action update is missing. Action delete is missing. Action index is missing. Action create is missing. Action validate is missing. Action list is missing. Action batch_index is missing.
variable defined: currentRecordType=rootOrganisation
variable defined: expectedPermissionResult=Action update is missing. Action delete is missing. Action index is missing. Action create is missing. Action validate is missing. Action list is missing. Action batch_index is missing.
ActionComparerFixture
authToken type id actions testReadAndStoreRecord? testCheckActions?
$domainAdminUUAuthToken recordType rootOrganisation {"actions":["read","update", "delete", "index", "read_incoming_links", "create", "validate", "list", "search", "batch_index"]} Action update is missing. Action delete is missing. Action index is missing. Action create is missing. Action validate is missing. Action list is missing. Action batch_index is missing.
variable defined: currentRecordType=topOrganisation
variable defined: expectedPermissionResult=Action update is missing. Action delete is missing. Action index is missing. Action create is missing. Action validate is missing. Action list is missing. Action batch_index is missing.
ActionComparerFixture
authToken type id actions testReadAndStoreRecord? testCheckActions?
$domainAdminUUAuthToken recordType topOrganisation {"actions":["read","update", "delete", "index", "read_incoming_links", "create", "validate", "list", "search", "batch_index"]} Action update is missing. Action delete is missing. Action index is missing. Action create is missing. Action validate is missing. Action list is missing. Action batch_index is missing.
variable defined: currentRecordType=subOrganisation
variable defined: expectedPermissionResult=Action update is missing. Action delete is missing. Action index is missing. Action create is missing. Action list is missing. Action batch_index is missing.
ActionComparerFixture
authToken type id actions testReadAndStoreRecord? testCheckActions?
$domainAdminUUAuthToken recordType subOrganisation {"actions":["read","update", "delete", "index", "read_incoming_links", "create", "validate", "list", "search", "batch_index"]} Action update is missing. Action delete is missing. Action index is missing. Action create is missing. Action list is missing. Action batch_index is missing.

Guest

Guest har tillgång till search för organisations postTyperna

Kontrollera de actions domainAdmin får med i recordType för organisation


variable defined: currentAuthToken=$guestToken
variable defined: currentRecordType=organisation
variable defined: expectedPermissionResult=Action update is missing. Action delete is missing. Action index is missing. Action create is missing. Action validate is missing. Action list is missing. Action batch_index is missing.
ActionComparerFixture
authToken type id actions testReadAndStoreRecord? testCheckActions?
$guestToken recordType organisation {"actions":["read","update", "delete", "index", "read_incoming_links", "create", "validate", "list", "search", "batch_index"]} Action update is missing. Action delete is missing. Action index is missing. Action create is missing. Action validate is missing. Action list is missing. Action batch_index is missing.
variable defined: currentRecordType=rootOrganisation
variable defined: expectedPermissionResult=Action update is missing. Action delete is missing. Action index is missing. Action create is missing. Action validate is missing. Action list is missing. Action batch_index is missing.
ActionComparerFixture
authToken type id actions testReadAndStoreRecord? testCheckActions?
$guestToken recordType rootOrganisation {"actions":["read","update", "delete", "index", "read_incoming_links", "create", "validate", "list", "search", "batch_index"]} Action update is missing. Action delete is missing. Action index is missing. Action create is missing. Action validate is missing. Action list is missing. Action batch_index is missing.
variable defined: currentRecordType=topOrganisation
variable defined: expectedPermissionResult=Action update is missing. Action delete is missing. Action index is missing. Action create is missing. Action validate is missing. Action list is missing. Action batch_index is missing.
ActionComparerFixture
authToken type id actions testReadAndStoreRecord? testCheckActions?
$guestToken recordType topOrganisation {"actions":["read","update", "delete", "index", "read_incoming_links", "create", "validate", "list", "search", "batch_index"]} Action update is missing. Action delete is missing. Action index is missing. Action create is missing. Action validate is missing. Action list is missing. Action batch_index is missing.
variable defined: currentRecordType=subOrganisation
variable defined: expectedPermissionResult=Action update is missing. Action delete is missing. Action index is missing. Action create is missing. Action validate is missing. Action list is missing. Action batch_index is missing.
ActionComparerFixture
authToken type id actions testReadAndStoreRecord? testCheckActions?
$guestToken recordType subOrganisation {"actions":["read","update", "delete", "index", "read_incoming_links", "create", "validate", "list", "search", "batch_index"]} Action update is missing. Action delete is missing. Action index is missing. Action create is missing. Action validate is missing. Action list is missing. Action batch_index is missing.