Single Tenant, Many eSpaces

Single Tenant, Many eSpaces

  
Good evening!

I have a single tenant application made on Outsystems Platform that has many eSpaces.
I would like to use the Users eSpace to manage the users of my application, but as I have many eSpaces I have many Tenant IDs.
How I'll be able to have a user that can manage users of my application (with many eSpaces/tenantIds) as a UserManager?

My users should have access to roles of more than one eSpace (same Application). I would like to create Groups that include roles of more than one eSpace.

If I didn't myself clear, please ask me more details.

Thanks!


There is definitely some confusion here.  If you have a true single tenant application (Multitenant is No for all eSpaces) then there should be no issue as there are no tenants.  You can have as many eSpaces as you want and still be single tenant with a single user base.  So here's what you need to check.

1) All eSpaces are NOT multitenant
2) All eSpaces have Users as the User eSpace
3) In any eSpace under Roles, create the roles you need and make them public so you can use them everywhere

You can then use the Users application (your site/users) to manage groups and users.

Hope this helps,
Curt
Thanks Curt,

It makes completly sense for me.
But I think there is something wrong I'm doing, since when I create 2 eSpaces in the same application, 2 diferent lines (TENANT_ID) are created in the OSSYS_TENAT table.
Is that normal?

For example:

select ID, NAME, IS_MULTITENANT from dbo.OSSYS_ESPACE where ID in (1, 2)
1 MyApplication 0
2 MyApplicationModule 0

select ID, NAME, ESPACE_ID from dbo.OSSYS_TENANT where ID in (11, 12)
11 MyApplication 1
12 MyApplicationModule 2

* IDs are fake

Thanks again.
I have no idea why you are looking at the system tables like you are but if you just follow the steps I provided it should fix the problems you are having.