Compare commits

..

2 Commits

Author SHA1 Message Date
Mojib Wali
92cfad940f v0.4.2 2021-03-02 15:25:02 +01:00
Mojib Wali
93ad527061 config: disable registration
* vocab: remove override vocab
* global: disable user registration
2021-03-02 15:24:18 +01:00
2 changed files with 10 additions and 10 deletions

View File

@@ -156,7 +156,7 @@ SECURITY_CHANGEABLE = False
SECURITY_RECOVERABLE = False SECURITY_RECOVERABLE = False
"""Allow password recovery by users.""" """Allow password recovery by users."""
SECURITY_REGISTERABLE = True SECURITY_REGISTERABLE = False
""""Allow users to register. """"Allow users to register.
With this variable set to "False" users will not be With this variable set to "False" users will not be
@@ -213,11 +213,11 @@ RECAPTCHA_PRIVATE_KEY = None
# https://invenio-rdm-records.readthedocs.io/en/latest/configuration.html # https://invenio-rdm-records.readthedocs.io/en/latest/configuration.html
# #
# Custom Access Right # Custom Access Right
RDM_RECORDS_CUSTOM_VOCABULARIES = { # RDM_RECORDS_CUSTOM_VOCABULARIES = {
'access_right': { # 'access_right': {
'path': join( # 'path': join(
dirname(abspath(__file__)), # dirname(abspath(__file__)),
'restrictions', 'access_right', 'access_right_limit.csv' # 'restrictions', 'access_right', 'access_right_limit.csv'
) # )
} # }
} # }

View File

@@ -12,4 +12,4 @@ This file is imported by ``invenio_config_tugraz.__init__``,
and parsed by ``setup.py``. and parsed by ``setup.py``.
""" """
__version__ = "0.4.1" __version__ = "0.4.2"