Editing Super Admin permissions and visual changes

This commit is contained in:
2026-09-20 12:07:05 +03:30
parent 4a9fe0b07c
commit 0e580b19c3
9 changed files with 621 additions and 231 deletions
+5
View File
@@ -37,7 +37,10 @@ export interface AuthUserDto {
organizationId: string;
organizationName?: string;
hasAvatar?: boolean;
/** مالک محیط فعلی — اشتراک متعلق به مالک است نه عضو زیرمجموعه */
isOrgOwner?: boolean;
enabledModules?: OrgModuleKey[];
/** خلاصه اشتراک مالک محیط (برای اعضا فقط جهت نمایش/گیت ورود) */
subscription?: SubscriptionSummaryDto | null;
}
@@ -2814,6 +2817,8 @@ export interface PlatformUserDto {
lastLoginAt?: string | null;
createdAt: string;
memberships: PlatformUserMembershipDto[];
/** فقط اگر حداقل یک عضویت مالک فعال دارد */
isBillingOwner?: boolean;
billing?: BillingAccountDto | null;
}