PoC: Allow only a single user in OSS version
Created by: mrnugget
Included:
- Database layer: disables creation of users other than initial site-admin user in open source version through global check
- Auth layer: adds validation to site-config to mark the
allowSignup: true
option ofbuiltin
auth provider as error - Conf layer: overwrites "is signup enabled" check to
false
in OSS version to disable sign-up form in UI - HTTP layer: returns error if create-user request is sent