-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invited member has very little application permissions #2244
Comments
This is so far completely intentional. The inspiration is a handling process where typically one member of a research team acts as the representative of the team i.e. the person known as the applicant in REMS. The members only have to accept the licenses, and can of course see the state, but finally will get the same permissions once the application has been handled. It has been speculated that at some point there may be a need for a transfer of ownership to another member, if the applicant leaves the research team. However, it could be modeled also as a new application based on the existing application. What is the use case you are thinking of? Technically it would also require some additional work to be enable multi-user edits of the application form at the same time. |
Hey @Macroz , I'm discussing this use case with @jaakkocsc currently, but I'm posting it here too. Maybe you have additional insights: Ada System: Contains real data for data exploration
We found an alternative route by "impersonating" the user, using an API key which is valid for all users and by "assuming" the ID which will be used in REMS. It's far less elegant and has some problems, such as that the user mapping between Ada and REMS requires the same IdP to be used on both sides, otherwise the OIDC user id can't be mapped securely by Ada. That's why an email/invite based approach is much more elegant here.
It’s also not a too far fetched use case having someone else “take over” the application process. E.g. PI is sick/busy/on vacation/on travel … |
Hi, thanks for the clarification. What do you mean by prepopulating the application? A REMS application can be linked into with a URL like There is currently no possibility of inviting the original applicant or transfering ownership. Impersonating the user is the way it is thought to go mostly, if another system acts on behalf of a user. The possibly complicately generated ID of the IdP must be known in that case beforehand, which may not be always practical. I'm sure there are several avenues to solve these problems. |
Hey Markku, by pre-filling I mean that Ada has some information that it submits to REMS to the application form. As you said, "reverse engineering" the IdP ID is not very practical, which is why an email invite based approach is so tempting, because the user can decide what IdP to use, and no mapping has to be done on server side. |
And as Jakkoo told me, we're definitively not the only one with this use case. Extending the API (as suggested above) would really help in any setup where REMS is connected with other services I feel. What do you think? |
And you are sure that you need to store this extra data regarding the selected samples to the REMS application? If that is form data in the application then the applicant can choose to change it? |
There are many many reasonable extensions and I'm trying to understand what the business case is so that I can provide the best solution to it. |
In our use case the user can either go directly to REMS and make their request or they can go to Ada first. The fact that this information is rather volatile and can potentially be rather large is why we submit this information as an attachment to REMS by the system, not by the user itself. I hope this helps to understand our situation a bit better |
I think we should include a role in the invitation link. This is more or less required for the reviewer invite too. I think we can then include an invitation for an applicant then and most of your problem would be solved. Ideally we would also have a handler invitation. |
🎉 Thank you very much If you don't mind me asking: What role would the invitee have in the use case above? Wouldn't you have to extend the role system to include an application-owner, an application-co-editor or something like that? |
All the current roles can be made invitable with some adjustment. But so far I think there will be one applicant and others are members. And we can think about extending member actions later. |
I will be working on a proof-of-concept for multi-user editing, so that applicant and members could edit the application together, even at the same time. This should solve some part of this issue. |
Here is an idea issue about pre-filling applications #3049 |
Hello,
We used the
/api/applications/invite-member
API to invite someone to an application, however it seems that being a "member" of an application gives one almost no rights, short from seeing the application state.Is that intentional? If so, is there any way to transfer "ownership" or grant additional privileges for an application?
The text was updated successfully, but these errors were encountered: