Changes between Version 19 and Version 20 of WikiStart


Ignore:
Timestamp:
Jun 14, 2022, 4:22:18 PM (23 months ago)
Author:
xmedved1
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v19 v20  
    195195If you run Crystal on a different hostname than Bonito, you may need to setup CORS headers appropriately, see the top of the `run.cgi` file.
    196196
    197 Bonito provides simple registration feature which configuration is in `registration.cgi`. By default the registration feature is disabled.
    198 
    199 To enable self-registration you have to: 
    200 * add `URL_REGISTER_NEW_USER` endpoint into Crystal (`config.js`)
    201 * set `self._enable_registration` inside `registration.cgi` to ` True`
     197Bonito provides simple **registration feature** which configuration is in `registration.cgi`.
    202198
    203199The registration module works in three different modes:
    204 * Disabled - no self registration is allowed
    205 * Enabled with no allow/deny feature - user can make a registration and enter into the system
    206 * Enabled with allow/deny feature - after user make registration an access request e-mail is send to admins that have to allow or deny the user access
    207   * to turn this feature on change value of variable `_enable_mail` in `registration.py` to `True`
    208   * requires to set variables `_smtp_server` and `_from_mail` in `registration.cgi` appropriately
     200* Disabled - no registration is allowed - **default**
     201* Self registration - user can make a registration and enter into the system
     202  * add `URL_REGISTER_NEW_USER` endpoint into Crystal (`config.js`)
     203  * set `self._enable_registration = True` inside `registration.cgi`
     204* Registration with approval - after user make registration an access request e-mail is send to admins that have to allow or deny the user access
     205  * to turn this feature on, change value of variable `self._enable_mail = True` inside `registration.py`
     206  * set variables `self._smtp_server` and `self._from_mail` in `registration.cgi` appropriately
    209207
    210208Files related to registration:
    211 * `/var/lib/bonito/registration/admins` - list of all admin users that can allow or deny new registration - login per line
    212 * `/var/lib/bonito/registration/users` - list of all users (including admins, approved and denied users) - tab separated values: login, full_name, e-mail, address, phone number
    213 * `/var/lib/bonito/registration/invalid_users` - list of denied users - login per line
     209* `/var/lib/ske/htpasswd` - <login>:<password_hash> per line
     210* `/var/lib/ske/registration/admins` - list of all admin users that can allow or deny new registration - login per line
     211* `/var/lib/ske/registration/users` - list of all users (including admins, approved and denied users) - tab separated values: login, full_name, e-mail, address, phone number, password hash
     212* `/var/lib/ske/registration/invalid_users` - list of denied users - login per line
    214213
    215214