You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.dev/discord.
Reproduction / Replay Link (Optional)
No response
Issue Summary
All non-nested permissions should show before nested permissions
Steps to Reproduce
(for example) Went to ...
Clicked on...
...
Expected behavior
The order should be:
domain
delete_domain
read_domain
update_domain
dns
create_record
delete_record
read_record
update_record
Other information
No response
Screenshots
No response
Version info
- OS:
- Node:
- npm:
The text was updated successfully, but these errors were encountered:
I have made some changes to tree component. Added a function that maps over nestedPermissions then every checks every permission if it as any nested permission if it contain then pushes to bottom of array and if doesn't then pushes to top of array.
And then finally we map over the sortedNestedPermissions array and return recursivePermission component.
Preliminary Checks
Reproduction / Replay Link (Optional)
No response
Issue Summary
All non-nested permissions should show before nested permissions
Steps to Reproduce
Expected behavior
The order should be:
Other information
No response
Screenshots
No response
Version info
The text was updated successfully, but these errors were encountered: