unkey icon indicating copy to clipboard operation
unkey copied to clipboard

Invalid count for keys attached to permissions

Open Flo4604 opened this issue 10 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

Image

The first count is just wrong; there is a key that has this permission The second count just counts all deleted keys I assume?

Steps to Reproduce

Create permission

Attach to two keys

delete a key

check again

Expected behavior

To see the correct count

Other information

No response

Screenshots

No response

Version info

- OS:
- Node:
- npm:

Flo4604 avatar Jan 28 '25 17:01 Flo4604

I think I found the reason, working on a PR

Nelwhix avatar Feb 03 '25 12:02 Nelwhix