unkey icon indicating copy to clipboard operation
unkey copied to clipboard

Display Permissions from attached role in API Request logs

Open Flo4604 opened this issue 8 months ago • 2 comments

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

Image

The "Frontend" role has permissions but they are not showing in the UI

Image

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:

Flo4604 avatar Apr 16 '25 17:04 Flo4604

yes, we should display all directly or indirectly attached permissions

chronark avatar Apr 16 '25 19:04 chronark