mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 08:58:26 +00:00
Fix: Include admins and builders for setting page permissions and it applies to all on released apps
This commit is contained in:
parent
bf8495b6ea
commit
445a03f51c
4 changed files with 4 additions and 3 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit 78c6a52262ba2df4a0771ae778178d2d74bb7517
|
||||
Subproject commit 90e11056ebdb40f0560ece55198c3ecc8ead4988
|
||||
|
|
@ -1,6 +1,7 @@
|
|||
export enum PAGE_PERMISSION_TYPE {
|
||||
SINGLE = 'SINGLE',
|
||||
GROUP = 'GROUP',
|
||||
ALL = 'ALL',
|
||||
}
|
||||
|
||||
export enum FEATURE_KEY {
|
||||
|
|
|
|||
|
|
@ -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[]>;
|
||||
|
||||
|
|
|
|||
|
|
@ -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.');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue