forked from maailma/kansa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kansa.yaml
60 lines (50 loc) · 1.93 KB
/
kansa.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# A short alphanumeric identifier, used e.g. as the cookie name, and in some
# downloaded file names.
id: w75
# The name of your event/convention
name: Worldcon 75
# If true, adding mailing address details for a member requires an "upgrade"
# action that requires payment. If false, paper pubs may be added without any
# cost.
paid_paper_pubs: false
# Authentication configuration. Duration values should use suffixes to indicate
# units, e.g. "1d 3h" or "4w".
auth:
# This should correspond to a subset of the columns in the admin.admins
# Postgres table that are currently in use. Including unused roles here is
# fine, as long as they have corresponding database columns.
admin_roles:
- admin_admin
- hugo_admin
- member_admin
- member_list
- raami_admin
- siteselection
# If an expired key is used for login, the key is reset and automatically
# sent by email. Admin users are those with any administrative privileges.
key_timeout:
normal: 1y
admin: 5d
# After session timeout, a user is redirected to the sign-in page at their
# next request.
session_timeout: 5d
# Modules add optional functionality to the core Kansa member management
# system. This configuration controls the behaviour of the API server; if you
# make changes you may want to also modify your Docker Compose and/or Postgres
# configuration. To disable a module, set its value to `null` or `false`.
modules:
# Superadmin actions: get & set admin levels, mass sync actions
admin: true
# Nomination and voting for the Hugo Awards
hugo: true
# Member statistics and other publicly accessible data, which may be made
# available for use from other domains with CORS. Note: proxy/nginx.conf
# includes caching configuration for paths under /api/public/.
public:
cors_origin: '*'
# Art show management
raami: false
# Invite generator for a Slack organisation
slack:
#org: worldcon75
#require_membership: true