roadmap icon indicating copy to clipboard operation
roadmap copied to clipboard

[ApiClients] Plan access rights

Open benjaminfaure opened this issue 2 years ago • 1 comments

Hello !

I am adding in DMP OPIDoR a feature allowing the user to manage which ApiClient has access to their plan. At the moment, ApiClients can only access plans created by them through the Plans API, so I've added a new form in the Share tab where the user can add & remove api clients accessing their plan.

Here's what's it looks like (in DMP OPIDoR colors !) :

image

Only "read" access is available but there's support for the "edit" access in the code.

I've added a new table in the database called api_client_roles inspired by the user's roles table :

api_rights2 drawio

I already did a presentation with Brian, John & Glenys but I'm posting this here for people that weren't available.

I'm currently working on this feature, so I haven't been able to gather feedback from my team yet. If you have some suggestions tell me :)

benjaminfaure avatar Oct 12 '22 06:10 benjaminfaure

Thank you @benjaminfaure It does look very good and useful. I would imagine, users would like this kind of control.

martaribeiro avatar Oct 12 '22 13:10 martaribeiro