Skip to content

feat(angular) : Add TenantUserSharingStragety.#25051

Merged
sumeyyeKurtulus merged 7 commits intodevfrom
issue-21840
Mar 24, 2026
Merged

feat(angular) : Add TenantUserSharingStragety.#25051
sumeyyeKurtulus merged 7 commits intodevfrom
issue-21840

Conversation

@fahrigedik
Copy link
Copy Markdown
Member

Introduce TenantUserSharingStrategy enum (Isolated, Shared) and add a userSharingStrategy property to MultiTenancyInfoDto so consumers can detect tenant user-sharing mode. Also include a minor newline fix in theme-shared tokens index.
Update MultiTenancyInfoDto so userSharingStrategy is optional. This allows responses that omit the userSharingStrategy field (improving compatibility with servers that don't return it).
@fahrigedik fahrigedik added this to the 10.3-preview milestone Mar 9, 2026
@fahrigedik fahrigedik changed the title Issue 21840 feat(angular) : Add TenantUserSharingStragety. Mar 9, 2026
export interface MultiTenancyInfoDto {
isEnabled: boolean;
}
export enum TenantUserSharingStrategy {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update generated proxy metadata to include new Account APIs and metadata fixes. Changes set remoteServiceName for account to "AbpAccountPublic", switch many Account types to Pro.Public.Application.Contracts, add numerous account endpoints (confirmation, phone/email tokens, profile picture upload/download, two-factor, security logs, email confirmation codes, authenticator flows, change-email, etc.), add authorizeDatas arrays where applicable, and adjust parameter/binding metadata (including form/file bindings for profile picture). Also add volo/abp/multi-tenancy index and tenant-user-sharing-strategy enum files and update related generated service files to reflect the new definitions.
Update generated proxy metadata and related ABP exports. The generate-proxy.json was extended with many Account endpoints (email/phone confirmation, two-factor, profile picture upload/download, security logs, confirmation checks, etc.), added authorizeDatas fields, and switched Account contract type references to the Pro.Public.Application.Contracts package while changing the account remoteServiceName to AbpAccountPublic. Also add multi-tenancy index and tenant-user-sharing-strategy enum exports and update several Volo.Abp model/index files to reflect these API and model changes to support ABP Pro public account and multi-tenancy features.
fahrigedik and others added 2 commits March 16, 2026 15:02
Strengthen TypeScript model typings across several ABP proxy models: make many previously-optional fields required, replace nullable union types with stricter types (remove | null in many places), convert nullable arrays/objects to concrete arrays/records, and normalize a few property types (e.g. LocalizableString.resource). Updated files: application-configurations/object-extending/models.ts, asp-net-core/mvc/multi-tenancy/models.ts, http/modeling/models.ts. Also added an export for './lib/proxy/volo/abp/multi-tenancy' to public-api.ts so the multi-tenancy proxies are publicly available.
@sumeyyeKurtulus sumeyyeKurtulus merged commit b2039ac into dev Mar 24, 2026
1 of 2 checks passed
@sumeyyeKurtulus sumeyyeKurtulus deleted the issue-21840 branch March 24, 2026 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants