Are multiple Ash authentication resources supported?

Is the use-case of having more than one User/Authentication resource supported?

For example, I currently have a User Resource that is managed via schema based multitenency. I want to add a Resourced called Admin that is a global schema.

1 Like

@BryanJBryce, Have you tried setting the global? true in the multitenancy block like below?

This option makes a resource available both tenants and non-tenants data.

multitenancy do
  strategy :context
  global? true
end

If the above is what you are looking, you could fragment the User resource and extend it to have Admin fragment too.

Yes, you can have multiple different resources that act as users.

1 Like