mirror of
https://github.com/Cian-H/invenio-config-iform.git
synced 2025-12-23 13:31:58 +00:00
Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
927fb44f95 | ||
|
|
d7c91765b4 | ||
|
|
dba1cd5d62 | ||
|
|
49b5477ebc | ||
|
|
92cfad940f | ||
|
|
93ad527061 | ||
|
|
9d2ad34601 | ||
|
|
1eb836aec8 |
@@ -12,7 +12,7 @@ from os.path import abspath, dirname, join
|
|||||||
|
|
||||||
from flask_babelex import gettext as _
|
from flask_babelex import gettext as _
|
||||||
|
|
||||||
INVENIO_CONFIG_TUGRAZ_SHIBBOLETH = True
|
INVENIO_CONFIG_TUGRAZ_SHIBBOLETH = False
|
||||||
"""Set True if SAML is configured"""
|
"""Set True if SAML is configured"""
|
||||||
|
|
||||||
INVENIO_CONFIG_TUGRAZ_SINGLE_IP = []
|
INVENIO_CONFIG_TUGRAZ_SINGLE_IP = []
|
||||||
@@ -39,7 +39,7 @@ APP_ALLOWED_HOSTS = [
|
|||||||
"127.0.0.1",
|
"127.0.0.1",
|
||||||
"invenio-dev01.tugraz.at",
|
"invenio-dev01.tugraz.at",
|
||||||
"invenio-test.tugraz.at",
|
"invenio-test.tugraz.at",
|
||||||
"repository.tugraz.at"
|
"repository.tugraz.at",
|
||||||
]
|
]
|
||||||
"""Allowed Hosts"""
|
"""Allowed Hosts"""
|
||||||
|
|
||||||
@@ -53,6 +53,9 @@ APP_DEFAULT_SECURE_HEADERS = {
|
|||||||
"'unsafe-inline'",
|
"'unsafe-inline'",
|
||||||
"'unsafe-eval'",
|
"'unsafe-eval'",
|
||||||
"blob:",
|
"blob:",
|
||||||
|
"ub-support.tugraz.at", # zammad contact form
|
||||||
|
"api.datacite.org/dois", # datacite
|
||||||
|
"api.test.datacite.org/dois", # datacite test
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
"content_security_policy_report_only": False,
|
"content_security_policy_report_only": False,
|
||||||
@@ -156,7 +159,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 +216,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.csv'
|
# 'restrictions', 'access_right', 'access_right_limit.csv'
|
||||||
)
|
# )
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
access_right,access_right_name,icon,notes
|
||||||
|
open, Open Access, lock open
|
||||||
|
@@ -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.0"
|
__version__ = "0.5.1"
|
||||||
|
|||||||
Reference in New Issue
Block a user