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
So investigating the knex table "directus_permissions" showed that all items had an id. So that is good to know. The problem where, that there were dublicates (same collection, action, role). This somehow lead that the frontend could not show the id.
I would suggest:
Remove dublicates automatically
Use the first item if there are more than that, in order to show users that they can delete an item.
Describe the Bug
So when i create via a fetch POST a new permission for the public role it did not have an id. This brings me to a point where i cannot delete it.
From the network inspection:
How is that even possible to have a permissions object without an id?
To Reproduce
Just create a permission object
Sadly i could not reproduce it by again. It seems to be very odd that this even exists in first place.
Directus Version
v10.11.2
Hosting Strategy
Self-Hosted (Docker Image)
Database
Postgres 13
The text was updated successfully, but these errors were encountered: