Display Permissions from attached role in API Request logs
Preliminary Checks
-
[x] I have reviewed the documentation: https://unkey.com/docs
-
[x] I have searched for existing issues: https://github.com/unkeyed/unkey/issues
-
[x] This issue is not a question, general help request, or anything other than a bug report directly related to Unkey. Please ask questions in our Discord community: https://unkey.com/discord.
Reproduction / Replay Link (Optional)
No response
Issue Summary
The "Frontend" role has permissions but they are not showing in the UI
Steps to Reproduce
Create an api key Attach a role to it Attach permissions to the role
Use the key in request
Look at logs
Expected behavior
The permissions that are attached to the role should be displayed as well.
I think it would also make sense to display them differently to the permisions that are attached to a key directly since that is a possibility.
Other information
No response
Screenshots
No response
Version info
- OS:
- Node:
- npm:
yes, we should display all directly or indirectly attached permissions