Skip to content

Commit 5e0dd5b

Browse files
authored
Merge pull request #11792 from GlobalDataverseCommunityConsortium/TKLabelDocUpdate
TKLabel flag not documented in #11294
2 parents f0abe94 + a030718 commit 5e0dd5b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/sphinx-guides/source/installation/config.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3797,6 +3797,9 @@ please find all known feature flags below. Any of these flags can be activated u
37973797
* - shibboleth-use-localhost
37983798
- A Shibboleth-using Dataverse instance needs to make network calls to the locally-running ``shibd`` service. The default behavior is to use the address configured via the ``siteUrl`` setting. There are however situations (firewalls, etc.) where localhost would be preferable.
37993799
- ``Off``
3800+
* - add-local-contexts-permission-check
3801+
- Adds a permission check to ensure that the user calling the /api/localcontexts/datasets/{id} API can edit the dataset with that id. This is currently the only use case - see https://github.com/gdcc/dataverse-external-vocab-support/tree/main/packages/local_contexts. The flag adds additional security to stop other uses, but would currently have to be used in conjunction with the api-session-auth feature flag (the security implications of which have not been fully investigated) to still allow adding Local Contexts metadata to a dataset.
3802+
- ``Off``
38003803

38013804
**Note:** Feature flags can be set via any `supported MicroProfile Config API source`_, e.g. the environment variable
38023805
``DATAVERSE_FEATURE_XXX`` (e.g. ``DATAVERSE_FEATURE_API_SESSION_AUTH=1``). These environment variables can be set in your shell before starting Payara. If you are using :doc:`Docker for development </container/dev-usage>`, you can set them in the `docker compose <https://docs.docker.com/compose/environment-variables/set-environment-variables/>`_ file.

0 commit comments

Comments
 (0)