Fix Sahana CAP alert undesirable auto-approval, resolves #50
This commit is contained in:
parent
8402177b94
commit
d9c84c8bae
@ -88,9 +88,10 @@ def config(settings):
|
|||||||
# Define access levels for entity role manager
|
# Define access levels for entity role manager
|
||||||
#settings.auth.access_levels = OrderedDict([])
|
#settings.auth.access_levels = OrderedDict([])
|
||||||
# Uncomment this to enable record approval
|
# Uncomment this to enable record approval
|
||||||
#settings.auth.record_approval = True
|
settings.auth.record_approval = True
|
||||||
# Uncomment this and specify a list of tablenames for which record approval is required
|
# Uncomment this and specify a list of tablenames for which record approval is required
|
||||||
#settings.auth.record_approval_required_for = ("org_organisation",)
|
settings.auth.record_approval_required_for = ("cap_alert",)
|
||||||
|
settings.auth.record_approval_manual = ("cap_alert",)
|
||||||
# Uncomment this to request an image when users register
|
# Uncomment this to request an image when users register
|
||||||
#settings.auth.registration_requests_image = True
|
#settings.auth.registration_requests_image = True
|
||||||
# Uncomment this to direct newly-registered users to their volunteer page to be able to add extra details
|
# Uncomment this to direct newly-registered users to their volunteer page to be able to add extra details
|
||||||
@ -957,6 +958,13 @@ def config(settings):
|
|||||||
# Uncomment to make Heliport codes unique
|
# Uncomment to make Heliport codes unique
|
||||||
#settings.transport.heliport_code_unique = True
|
#settings.transport.heliport_code_unique = True
|
||||||
|
|
||||||
|
# -------------------------------------------------------------------------
|
||||||
|
# CAP
|
||||||
|
settings.get_cap_languages = OrderedDict([
|
||||||
|
("cs", "Česky"),
|
||||||
|
("en-US", "English"),
|
||||||
|
])
|
||||||
|
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
# Filter Manager
|
# Filter Manager
|
||||||
#settings.search.filter_manager = False
|
#settings.search.filter_manager = False
|
||||||
|
Loading…
Reference in New Issue
Block a user