Skip to content

Commit

Permalink
Merge pull request #76 from shikshalokam/SB-30686
Browse files Browse the repository at this point in the history
Hierarchy based access to the observation based on form's entity type
  • Loading branch information
aks30 authored Aug 22, 2022
2 parents 27eebec + 8831162 commit b891cad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions module/users/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,8 @@ module.exports = class UsersHelper {
Object.keys(entities[0].groups).length > 0
) {
targetedEntityType = constants.common.STATE_ENTITY_TYPE;
} else if ( targetedEntityType === constants.common.SCHOOL ) {
targetedEntityType = constants.common.STATE_ENTITY_TYPE;
}
}

Expand Down

0 comments on commit b891cad

Please sign in to comment.