There are two requests for Supervisory Nodes when user is logging in

Description

Every time a user is logging in to the OpenLMIS, there are two calls for Supervisory Nodes. For example in administrator case one call is for all SN's and the other is only for the ones taken from administrator's roles.

Reproduction steps:
1. Log in to the application as a few different users (like administrator, divo1, some newly created user)
2. Check the requests made and notice that there are two calls for Supervisory Nodes each time

Expected:
When logging in, there should be only one call for all SN's needed by a given user. For example, in case of the administrator, that would be all of them.

Environment

None

Assignee

Klaudia Pałkowska

Reporter

Paweł Pinker

Labels

Story Points

3

Time tracking

32h

Epic Link

Components

Sprint

None

Fix versions

Priority

Major
Configure