Temporal-web to show only particular namespace workflows based on user authentication

Hi,

I would like to show the namespace workflows based on user role in temporal-web, how can be achieved & is there any pseudo code?

Roles & namespaces

  • role1 : role1-ns1
  • role2 : role2-ns2

How do you authenticate users? If you use JWT tokens, then you can see to which namespace they should and should not access. This section of the docs shows how to authorize users on the server.
Or perhaps you already looked at this and have a different problem?

Have you found defaultAuthorizer and defaultJWTClaimMapper already?

From the java standalone client connect to temporal server how to set or pass the jwt token?
To start the workflow request? Any pseudo code?