Fix: Include admins and builders for setting page permissions and it applies to all on released apps

This commit is contained in:
devanshu052000 2025-04-24 16:42:35 +05:30
parent bf8495b6ea
commit 445a03f51c
4 changed files with 4 additions and 3 deletions

@ -1 +1 @@
Subproject commit 78c6a52262ba2df4a0771ae778178d2d74bb7517
Subproject commit 90e11056ebdb40f0560ece55198c3ecc8ead4988

View file

@ -1,6 +1,7 @@
export enum PAGE_PERMISSION_TYPE {
SINGLE = 'SINGLE',
GROUP = 'GROUP',
ALL = 'ALL',
}
export enum FEATURE_KEY {

View file

@ -3,7 +3,7 @@ import { GroupPermissions } from '@entities/group_permissions.entity';
import { CreatePagePermissionDto } from '../dto';
export interface IUtilService {
getUsersWithViewAccess(appId: string, organizationId: string, endUserIds: string[]): Promise<User[]>;
getUsersWithViewAccess(appId: string, organizationId: string): Promise<User[]>;
getUserGroupsWithViewAccess(appId: string, organizationId: string): Promise<GroupPermissions[]>;

View file

@ -12,7 +12,7 @@ export class AppPermissionsUtilService implements IUtilService {
throw new Error('Method not implemented.');
}
async getUsersWithViewAccess(appId: string, organizationId: string, endUserIds: string[]): Promise<User[]> {
async getUsersWithViewAccess(appId: string, organizationId: string): Promise<User[]> {
throw new Error('Method not implemented.');
}