Cloud Server Registrations

From Lianjapedia
Revision as of 10:18, 20 September 2022 by Yvonne.milne (Talk | contribs)

Jump to: navigation, search

Under Construction

Overview

From Lianja v8.0 the Lianja Cloud Server can be configured to allow users to register in a tenancy.

Access the login page as usual, then click Register:

Cloud Server Registrations


Complete the registration form:

Cloud Server Registrations


Enabling User Registration

Windows

On Windows, check the Enable registrations setting in the Lianja Server Manager Security tab:

Security tab

The Lianja Server will restart to apply the setting.

Linux and macOS

Include the following environment variable setting in the Lianja Server configuration file on Linux or macOS:

DB_REGISTRATION_ENABLED=ON

Default User Roles

Self-registering users will, by default, be given the role 'public'. Apps to be accessed by these users should include this role or * (all) roles.

To specify an alternative role or roles to be given to self-registering users, set the DB_REGISTRATION_ROLES environment variable (all supported platforms), e.g.

DB_REGISTRATION_ROLES=news,events,general

See Also

Cross Platform App Deployment, Customizing the Login Page, Database Tenancies, Lianja Cloud Admin Console, Lianja Server Manager on Linux, Lianja Server Manager on Mac, Lianja Server Manager on Windows, Sysroles System Table, Users and Roles, USERDOMAIN(), USEREMAIL(), USERNAME(), USERROLES(), USERTENANCY()