hmpf / easydmp

MIT License
7 stars 2 forks source link

Have a notion of templates/users being connected to specific organizations #277

Open hmpf opened 1 year ago

hmpf commented 1 year ago

Right now, templates are either marked as domain-specific or generic. The notion of an organization owning templates and having users does not exist at all.

This needs to be specced out thoroughly. It is not feasible to fetch information about which organization somebody belongs to on login, as that is not part of the OAUth2 spec which is what is supported for login. With added support for SAML-specific fields stuff this might be made feasible but there is no guarantee that the various SAML-setups use the same fields for marking organizational structure. EasyDMP isn't supposed to only support Feide...

hmpf commented 1 year ago

Needing to have a notion of organization will increase complexity, which is why it has been conveniently ignored.