budibase/packages/auth/src/constants.js

29 lines
508 B
JavaScript
Raw Normal View History

2021-04-07 12:33:16 +02:00
exports.UserStatus = {
ACTIVE: "active",
INACTIVE: "inactive",
}
exports.Cookies = {
CurrentApp: "budibase:currentapp",
Auth: "budibase:auth",
OIDC_CONFIG: "budibase:oidc:config",
2021-04-07 12:33:16 +02:00
}
2021-04-19 12:34:07 +02:00
exports.GlobalRoles = {
OWNER: "owner",
ADMIN: "admin",
BUILDER: "builder",
2021-07-13 18:27:04 +02:00
WORKSPACE_MANAGER: "workspace_manager",
2021-04-19 12:34:07 +02:00
}
exports.Configs = {
SETTINGS: "settings",
ACCOUNT: "account",
SMTP: "smtp",
GOOGLE: "google",
OIDC: "oidc",
OIDC_LOGOS: "logos_oidc",
}
exports.DEFAULT_TENANT_ID = "default"