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...
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...