feat: workspace management from admin app (#6093)
* feat: workspace management from admin app * chore: UI and UX copy improvements * chore: ux copy improvements
This commit is contained in:
parent
9dbb2b26c3
commit
05d3e3ae45
53 changed files with 1153 additions and 122 deletions
|
|
@ -45,6 +45,7 @@ class InstanceEndpoint(BaseAPIView):
|
|||
# Get all the configuration
|
||||
(
|
||||
ENABLE_SIGNUP,
|
||||
DISABLE_WORKSPACE_CREATION,
|
||||
IS_GOOGLE_ENABLED,
|
||||
IS_GITHUB_ENABLED,
|
||||
GITHUB_APP_NAME,
|
||||
|
|
@ -65,6 +66,10 @@ class InstanceEndpoint(BaseAPIView):
|
|||
"key": "ENABLE_SIGNUP",
|
||||
"default": os.environ.get("ENABLE_SIGNUP", "0"),
|
||||
},
|
||||
{
|
||||
"key": "DISABLE_WORKSPACE_CREATION",
|
||||
"default": os.environ.get("DISABLE_WORKSPACE_CREATION", "0"),
|
||||
},
|
||||
{
|
||||
"key": "IS_GOOGLE_ENABLED",
|
||||
"default": os.environ.get("IS_GOOGLE_ENABLED", "0"),
|
||||
|
|
@ -125,6 +130,7 @@ class InstanceEndpoint(BaseAPIView):
|
|||
data = {}
|
||||
# Authentication
|
||||
data["enable_signup"] = ENABLE_SIGNUP == "1"
|
||||
data["is_workspace_creation_disabled"] = DISABLE_WORKSPACE_CREATION == "1"
|
||||
data["is_google_enabled"] = IS_GOOGLE_ENABLED == "1"
|
||||
data["is_github_enabled"] = IS_GITHUB_ENABLED == "1"
|
||||
data["is_gitlab_enabled"] = IS_GITLAB_ENABLED == "1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue