sourabhaggrawal opened a new pull request #436: URL: https://github.com/apache/pulsar-manager/pull/436
### Motivation Improve Tenant/Namespace resource assignment workflow. * When assigning the resource to a role, it only let you choose from Namespace,Tenants,SCHEMA,Functions but does not allow the user to select TENANT. A user should have ability to choose tenant for a role and assign the role to a user. Based on which the user should be able to see the tenant it is assigned with. As of now we are also creating default tenant and roles with user's name when user is created. In Next PR I will suggest a change where we do not create default tenant and role with username, Instead once a user is create let that be a manual excercise of creating/assigning a role & tenant to it. * ### Modifications * changes in this PR include below fixes. 1. Add TENANT as ResourceType along with Namepsace,Schema etc for Create/Edit Role. 2. Include only tenants as resource while preparing the response from api /tenants in TenantsController. 3. In Success LoginResponse, add the tenant as header which is assigned to user's role instead of tenant with user's name. ### Verifying this change - [ ] Make sure that the change passes the `./gradlew build` checks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org