Hi,
I want to support multiple tenants such as Google,Amazon,Microsoft.
Now I want to create their Admin users as well as a normal user and collect them under a group.
When I log in from Google tenant Admin, i want to see only the Google users and the tenant specific process which I can run.Also for users I don’t want to show admin view.
I tried to set this up but I can see all the users and all the groups.
This is less of a multi-tenacy issues that it is a permissions issue. You need to give the correct authorization to the groups and users to prevent them from seeing anything in admin.
I am facing the same issue. Authorizations are turned on.
For a weird reason for when I login with other user credentials,his tasklist is empty.(He actually has tasks when seen from admin’s cockpit)
I did Configured Authorization in a Java Class using following code:-
import org.camunda.bpm.engine.spring.SpringProcessEngineConfiguration;
import org.camunda.bpm.spring.boot.starter.util.SpringBootProcessEnginePlugin;
import org.springframework.context.annotation.Configuration;
@Configuration
public class MyProcessEngineConfiguration extends SpringBootProcessEnginePlugin {
@Override
public void preInit(SpringProcessEngineConfiguration processEngineConfiguration) {
super.preInit(processEngineConfiguration);
if (!processEngineConfiguration.isAuthorizationEnabled()) {
processEngineConfiguration.setAuthorizationEnabled(true);
}
}
It’s important that the setting is applied in the configuration of the process engine inside the webapp. Is that the same engine as your main one, that’s executing the work?