rez_core 6.5.56 → 6.5.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rez_core",
3
- "version": "6.5.56",
3
+ "version": "6.5.57",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -23,10 +23,10 @@ export class ModuleAccessRepository {
23
23
  }
24
24
 
25
25
  async getRoles({
26
- appcode,
27
- level_type,
28
- level_id,
29
- }: {
26
+ appcode,
27
+ level_type,
28
+ level_id,
29
+ }: {
30
30
  appcode: string;
31
31
  level_type?: string;
32
32
  level_id?: number;
@@ -58,9 +58,9 @@ export class ModuleAccessRepository {
58
58
  }
59
59
 
60
60
  async getModules({
61
- appcode,
62
- loggedInUser,
63
- }: {
61
+ appcode,
62
+ loggedInUser,
63
+ }: {
64
64
  appcode: string;
65
65
  loggedInUser: any;
66
66
  }) {
@@ -165,7 +165,7 @@ export class ModuleAccessRepository {
165
165
 
166
166
  async getAllModulesByLevel(mainModIds: string[], appcode: string, levelType) {
167
167
  const appMasterRepo = this.reflectionHelper.getRepoService('AppMaster');
168
- // TODO Permissions not getting populated
168
+ // TODO Permissions not getting populated
169
169
  const appMaster = await appMasterRepo.find({
170
170
  where: {
171
171
  code: appcode,
@@ -212,7 +212,7 @@ export class ModuleAccessRepository {
212
212
  const allActions: any = await this.moduleActionRepo.createQueryBuilder('action')
213
213
  .select(['action.id', 'action.action_name', 'module.module_code'])
214
214
  .leftJoin('action.module', 'module')
215
- .where('module.module_id IN (:...modules)', { modules })
215
+ .where('action.module_id IN (:...modules)', { modules })
216
216
  .getMany();
217
217
 
218
218
  // Map actions by module_code with VIEW action first