rez_core 2.1.76 → 2.1.78

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": "2.1.76",
3
+ "version": "2.1.78",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -22,6 +22,7 @@ export class EntityTableService {
22
22
  ) {}
23
23
 
24
24
  async getEntityData(mappedEntityType: string | null, loggedInUser) {
25
+ console.log(mappedEntityType,loggedInUser," loggedInUser in getEntityData");
25
26
  if (mappedEntityType) {
26
27
  const tableMaster =
27
28
  await this.entityTableRepository.findByMappedEntityType(
@@ -178,7 +178,9 @@ export class ModuleAccessService {
178
178
  organization_id || 0,
179
179
  );
180
180
 
181
- if (!school || school.status === resolveStatus.id || 'INACTIVE') {
181
+ console.log('resolveStatus', resolveStatus, 'school', school);
182
+
183
+ if (!school || school.status == resolveStatus.id || 'INACTIVE') {
182
184
  // Return only VIEW permissions
183
185
  return allPermissions.filter((perm) => perm.action === 'VIEW');
184
186
  }