This repository was archived by the owner on Dec 12, 2018. It is now read-only.
This repository was archived by the owner on Dec 12, 2018. It is now read-only.
Support multi-tenancy with Spring Security for roles and permissions #592
Open
Description
The challenge here is that all href
references that are used in hasRole
need to be resolved at startup time.
The implementation needs to be discussed further, but one approach would be to have Groups named the same across Organizations.
A solution then would be to:
- get the Organization that the logged in user belongs to
- get the named Group from that Organization (which would actually belong to the Directories mapped to the Organization)
- confirm that the logged in user belongs to the named Group