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/dist/module/meta/service/entity-table.service.js +1 -0
- package/dist/module/meta/service/entity-table.service.js.map +1 -1
- package/dist/module/module/service/module-access.service.js +2 -1
- package/dist/module/module/service/module-access.service.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/module/meta/service/entity-table.service.ts +1 -0
- package/src/module/module/service/module-access.service.ts +3 -1
package/package.json
CHANGED
|
@@ -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
|
-
|
|
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
|
}
|