root / snf-astakos-app / conf / 20-snf-astakos-app-settings.conf @ f5c5fb5e
History | View | Annotate | Download (4.3 kB)
1 |
# Set the expiration time of newly created auth tokens |
---|---|
2 |
# to be this many hours after their creation time. |
3 |
#ASTAKOS_AUTH_TOKEN_DURATION = 30 * 24 |
4 |
|
5 |
#ASTAKOS_DEFAULT_USER_LEVEL = 4 |
6 |
|
7 |
#ASTAKOS_INVITATIONS_PER_LEVEL = { |
8 |
# 0 : 100, |
9 |
# 1 : 2, |
10 |
# 2 : 0, |
11 |
# 3 : 0, |
12 |
# 4 : 0 |
13 |
#} |
14 |
|
15 |
# Identity Management enabled modules |
16 |
# Supported modules are: 'local', 'twitter' and 'shibboleth' |
17 |
#ASTAKOS_IM_MODULES = ['local'] |
18 |
|
19 |
# Force user profile verification |
20 |
#ASTAKOS_FORCE_PROFILE_UPDATE = True |
21 |
|
22 |
#Enable invitations |
23 |
#ASTAKOS_INVITATIONS_ENABLED = False |
24 |
|
25 |
#ASTAKOS_COOKIE_NAME = '_pithos2_a' |
26 |
#ASTAKOS_COOKIE_DOMAIN = None |
27 |
#ASTAKOS_COOKIE_SECURE = True |
28 |
|
29 |
#ASTAKOS_IM_STATIC_URL = '/static/im/' |
30 |
|
31 |
# If set to False and invitations not enabled newly created user will be |
32 |
# automatically accepted |
33 |
#ASTAKOS_MODERATION_ENABLED = True |
34 |
|
35 |
# Set baseurl |
36 |
#ASTAKOS_BASE_URL = 'https://accounts.example.synnefo.org' |
37 |
|
38 |
# Set service name |
39 |
#ASTAKOS_SITENAME = 'Synnefo Cloud' |
40 |
|
41 |
# Set recaptcha keys |
42 |
# http://www.google.com/recaptcha/whyrecaptcha |
43 |
#ASTAKOS_RECAPTCHA_PUBLIC_KEY = '' |
44 |
#ASTAKOS_RECAPTCHA_PRIVATE_KEY = '' |
45 |
#ASTAKOS_RECAPTCHA_OPTIONS = {'theme': 'custom', 'custom_theme_widget': 'okeanos_recaptcha'} |
46 |
#ASTAKOS_RECAPTCHA_USE_SSL = True |
47 |
#ASTAKOS_RECAPTCHA_ENABLED = False |
48 |
|
49 |
# Set where the user should be redirected after logout |
50 |
#ASTAKOS_LOGOUT_NEXT = '' |
51 |
|
52 |
# Set user email patterns that are automatically activated |
53 |
#ASTAKOS_RE_USER_EMAIL_PATTERNS = [] |
54 |
|
55 |
# Messages to display on login page header |
56 |
# e.g. [('warning', 'This warning message will be displayed on the top of login page')] |
57 |
#ASTAKOS_LOGIN_MESSAGES = [] |
58 |
|
59 |
# Messages to display on signup page header |
60 |
# e.g. [('warning', 'This warning message will be displayed on the top of signup page')] |
61 |
#ASTAKOS_SIGNUP_MESSAGES = [] |
62 |
|
63 |
# Messages to display on profile page header |
64 |
# e.g. [('warning', 'This warning message will be displayed on the top of profile pages')] |
65 |
#ASTAKOS_PROFILE_MESSAGES = [] |
66 |
|
67 |
# Messages to display on global page header |
68 |
# e.g. [('warning', 'This warning message will be displayed on the top of all pages')] |
69 |
#ASTAKOS_GLOBAL_MESSAGES = [] |
70 |
|
71 |
# messages to display as extra actions in account forms |
72 |
# e.g. {'https://cms.example.synnefo.org/': 'Back to Synnefo'} |
73 |
#ASTAKOS_PROFILE_EXTRA_LINKS = [] |
74 |
|
75 |
# The number of unsuccessful login requests per minute allowed for a specific email |
76 |
#ASTAKOS_RATELIMIT_RETRIES_ALLOWED = 3 |
77 |
|
78 |
# If False the email change mechanism is disabled |
79 |
#ASTAKOS_EMAILCHANGE_ENABLED = False |
80 |
|
81 |
# Set the expiration time (in days) of email change requests |
82 |
#ASTAKOS_EMAILCHANGE_ACTIVATION_DAYS = 10 |
83 |
|
84 |
# Set the astakos main functions logging severity (None to disable) |
85 |
#from logging import INFO |
86 |
#ASTAKOS_LOGGING_LEVEL = INFO |
87 |
|
88 |
# Set how many objects should be displayed per page |
89 |
#ASTAKOS_PAGINATE_BY = 10 |
90 |
# Set how many objects should be displayed per page in show all groups page |
91 |
#ASTAKOS_PAGINATE_BY_ALL = 15 |
92 |
|
93 |
# Enforce token renewal on password change/reset |
94 |
#ASTAKOS_NEWPASSWD_INVALIDATE_TOKEN = True |
95 |
|
96 |
# Interval at which to update the user's available quota in astakos usage |
97 |
# profile view |
98 |
#ASTAKOS_USAGE_UPDATE_INTERVAL = 5000 |
99 |
|
100 |
# Permit local account migration |
101 |
#ASTAKOS_ENABLE_LOCAL_ACCOUNT_MIGRATION = True |
102 |
|
103 |
# Strict shibboleth usage |
104 |
#ASTAKOS_SHIBBOLETH_REQUIRE_NAME_INFO = False |
105 |
|
106 |
# If true, this enables a ui compatibility layer for the introduction |
107 |
# of UUIDs in identity management. |
108 |
# WARNING: Setting to True will break your installation. |
109 |
# ASTAKOS_TRANSLATE_UUIDS = False |
110 |
|
111 |
# UUIDs of users that can approve or deny project applications from the web. |
112 |
# ASTAKOS_PROJECT_ADMINS = set() # e.g. set(['01234567-89ab-cdef-0123-456789abcdef']) |
113 |
|
114 |
# OAuth2 Twitter credentials. |
115 |
#ASTAKOS_TWITTER_KEY = '' |
116 |
#ASTAKOS_TWITTER_SECRET = '' |
117 |
#ASTAKOS_TWITTER_AUTH_FORCE_LOGIN = False |
118 |
|
119 |
# OAuth2 Google credentials |
120 |
#ASTAKOS_GOOGLE_CLIENT_ID = '' |
121 |
#ASTAKOS_GOOGLE_SECRET = '' |
122 |
|
123 |
# OAuth2 LinkedIn credentials. |
124 |
#ASTAKOS_LINKEDIN_TOKEN = '' |
125 |
#ASTAKOS_LINKEDIN_SECRET = '' |
126 |
|
127 |
# Whether or not to display projects in astakos menu |
128 |
# ASTAKOS_PROJECTS_VISIBLE = False |
129 |
|
130 |
# A way to extend the components presentation metadata |
131 |
# ASTAKOS_COMPONENTS_META = {} |
132 |
|
133 |
# A way to extend the resources presentation metadata |
134 |
# ASTAKOS_RESOURCES_META = {} |
135 |
|
136 |
# Migrate existing shibboleth user entries which where previously associated |
137 |
# with EPPN instead of the provided value of REMOTE_ID mod_shib2 header. |
138 |
# ASTAKOS_SHIBBOLETH_MIGRATE_EPPN = False |