I am using Custom DB authentication from a table that was already in my database, and i would like to use the same system…
In this table I have: username, password and group_id
I was wondering if it is possible to automatically create a workspace for each group_id, so that all usernames with the same group_id will have automatically access to their workspace.
User1 – group_id=1
user2 – group_id=2
user3 – group_id=1
user 1 and user 3 will automatically see a workspace (because they have both group_id = 1)
user 2 will see another workspace because of group_id=2
is this possible?