Open mirenz1 opened 2 months ago
This looks like a pretty solid approach to me! To me it also seems like this won't overly complicate extending the permission model to the file storage functionality (which is currently still the crude WebDAV server).
A permission and role model shall be introduced to openDuT in order to manage authorizations for different resources used in openDuT.
Role description
1 basic_role
1 user_role per peer
1 owner_role per peer
1 admin_role
Permission - Role matrix
Legend: x ... general permission granted po ... peer only, peer specific role grants permission only for the specific peer
Discussion
What happens, if you have a cluster with devices/peers and your access to one of the peers has been withdrawn?
Can you only work with clusters, where you have permissions for all used peers?
Do we really want that everyone can see all peers and clusters?
References
Relates to #290