Skip to content

Apply access restrictions to all resources

Choose a tag to compare

@zozlak zozlak released this 19 Jun 09:19
· 247 commits to master since this release

Until now access restrictions provided in acdh:hasAccessRestriction as well as setting up a default acdh:hasAccessRestriction value when it's empty was applied only to resources inheriting from schema->classes->repoObject, schema->classes->sharedObject and schema->classes->container.

It practice it made technical resources and resources created from only identifiers (quite often for persons/places/institutions) inaccessible while (at the moment) we don't see any reason not to make them publicly readable.

This change makes acdh:hasAccessRestriction and its default value to be applied to all resources meaning only resources which are explicitly limited access restrictions won't be accessible by public users after creation.