feat: add multi-tenancy, enrollment tokens, OIDC integration, and branding schemas#30
Open
SteveKueng wants to merge 2 commits intoopen-uem:mainfrom
Open
feat: add multi-tenancy, enrollment tokens, OIDC integration, and branding schemas#30SteveKueng wants to merge 2 commits intoopen-uem:mainfrom
SteveKueng wants to merge 2 commits intoopen-uem:mainfrom
Conversation
…ion, and branding Multi-tenancy schemas: - UserTenant junction table with role (admin/operator/user) and is_default flag - EnrollmentToken schema with token, max_uses, expiry, tenant/site links - Tenant: oidc_org_id and oidc_default_role for OIDC auto-assignment - Certificate: tenant_id for tenant-scoped certificates - Site: enrollment_tokens edge Branding schema: - logo_light, logo_small, primary_color, product_name - login_background_image, login_welcome_text Authentication refactor: - OIDC role fields split into admin/operator/user - Removed is_hoster_tenant and is_super_admin fields Additional fixes: - Remove duplicate disabled field in profile schema - Fix comments in netbirdsettings and memoryslot schemas
…ding - Introduced `show_version` boolean field to control the display of version number in the header. - Added `bug_report_link` and `help_link` string fields for customizable links to bug reports and documentation. - Updated schema, mutation, and relevant methods to handle the new fields. - Set default values for the new fields in the schema and runtime initialization.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
UserTenantjunction table (role-based: admin/operator/user) andis_defaultflag for user's primary tenantEnrollmentTokenschema with token, max_uses, current_uses, expiry, and tenant/site links for secure agent registrationoidc_org_id,oidc_default_role)Brandingschema for provider customization (logo, color, product name, login page)tenant_idto Certificate andenrollment_tokensedge to Sitedisabledfield in Profile schemaSchema changes
UserTenant(new)EnrollmentToken(new)Branding(new)TenantUserSiteCertificateAuthenticationProfile