Closed vildead closed 11 months ago
@vildead can you add a DAISY screenshot with multiple access objects? Or remind me which dataset it was (I checked PRECISESADS, it doe snot have multiple objects).
It happened for Josie for PRECISESADS
so, I was able to reproduce the issue and it seems that the following happens:
I propose to implement the following:
I agree.
When checking if an access already exists, should we take into account only accesses that were automatically granted? For instance, if there is already an access, in active state, manually granted, and we receive a request from REMS to grant access to the same user and same dataset, what should we do? create a new access independently of the previous one, update the previously manually created access?
Another question that rose during implementation, what fields should we update exactly if identified that an access already exist and we don't want to create a new one (notes, granted_on, created_by, grant_expires_on)?
If we found that access for the same user to the same dataset has been manually created, I would propose to
Do you grant access base on status of access object or expiration date? This will influence the necessity to change expiration date of manually created access.
Valentin, could you please specify your last question? Are you asking about the same situation: REMS found manual access already exist? Or the situation when REMS finds existing REMS records?
@neoflex I cannot assign people. I hope you will get a notification due to @
here is a summary of what we discussed with @marikapop. When a new request from REMS arrives:
This might be issue related to our current setup. But the API receiving request from REMS should be inspected.