AWS Chatbot is now Amazon Q Developer. Learn more
Managing user roles as a channel member in Amazon Q Developer in chat applications
Channel members can switch their user roles from their chat channels. Additionally, channel members can unmap user roles from chat client IDs using the Amazon Q Developer in chat applications console.
Topics
Adding a user role from a chat channel using Amazon Q Developer
If you are a new channel member or your channel permission approach changes, Amazon Q Developer will prompt you to add a user role.
To add a user role from a chat channel
-
Choose Let's get started.
-
Choose an account to add a role.
Note
This link will take you directly to the Amazon Q Developer console.
-
In User role, choose a role.
-
Choose Save.
Note
Choosing Save takes you to an authorization page to fetch your chat client identity. This identity is mapped to your chosen role.
-
Choose Allow.
Switching user roles from a chat channel using Amazon Q Developer in chat applications
If you find that your current user role doesn’t have the right permissions to achieve your desired task, you can switch roles directly from Microsoft Teams and Slack.
Note
If you are unable to run a particular command after switching roles, contact your administrator regarding the channel guardrails in place.
To switch a user role from a chat channel
-
In your chat channel, enter
@Amazon Q switch-role
. -
Choose the account that you want to switch roles for.
Note
This link will take you directly to the Amazon Q Developer console.
-
In the Amazon Q Developer console, choose Choose user role.
-
In User role, choose a user role.
-
Choose Save.
Note
Choosing Save, takes you to an authorization page. This is so your chat client identity can be retrieved and associated with your chosen role.
-
On the authorization page, choose Allow.
Unmapping a user role using Amazon Q Developer in chat applications
If you have a user role applied that you no longer need, you can unmap it.
To unmap a user role
-
Open the Amazon Q Developer console
. -
Choose a configured client.
-
In User role, choose Clear role.