ckanext-dcor_schemas
|PyPI Version| |Build Status| |Coverage Status|
This module introduces/lifts restrictions (authorization) for the management
of data and meta data on DCOR. The corresponding UI elements are modified
accordingly:
Installation
Simply run
::
pip install ckanext-dcor_schemas
In the configuration file ckan.ini:
::
ckan.plugins = [...] dcor_schemas
ckan.extra_resource_fields = etag sha256
Testing
If CKAN/DCOR is installed and setup for testing, this extension can
be tested with pytest:
::
pytest ckanext
Testing is implemented via GitHub Actions. You may also set up a local
docker container with CKAN and MinIO. Take a look at the GitHub Actions
workflow for more information.
.. |PyPI Version| image:: https://img.shields.io/pypi/v/ckanext.dcor_schemas.svg
:target: https://pypi.python.org/pypi/ckanext.dcor_schemas
.. |Build Status| image:: https://img.shields.io/github/actions/workflow/status/DCOR-dev/ckanext-dcor_schemas/check.yml
:target: https://github.com/DCOR-dev/ckanext-dcor_schemas/actions?query=workflow%3AChecks
.. |Coverage Status| image:: https://img.shields.io/codecov/c/github/DCOR-dev/ckanext-dcor_schemas
:target: https://codecov.io/gh/DCOR-dev/ckanext-dcor_schemas