rez_core 2.1.80 → 2.1.82
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
|
@@ -180,12 +180,15 @@ export class ModuleAccessService {
|
|
|
180
180
|
|
|
181
181
|
console.log('resolveStatus', resolveStatus, 'school', school);
|
|
182
182
|
|
|
183
|
+
console.log("BEFRORE")
|
|
183
184
|
if (!school || school.status == resolveStatus.id || 'INACTIVE') {
|
|
184
185
|
// Return only VIEW permissions
|
|
186
|
+
console.log("ANDAR")
|
|
185
187
|
return allPermissions.filter((perm) => perm.action === 'VIEW');
|
|
186
188
|
}
|
|
187
189
|
}
|
|
188
190
|
|
|
191
|
+
console.log(allPermissions, "allPermissions in getUserPermissions");
|
|
189
192
|
// Step 4: Return all permissions normally
|
|
190
193
|
return allPermissions;
|
|
191
194
|
}
|