orchidsoftware / crud

Simplify the process of building CRUD (Create, Read, Update, Delete) functionality in Laravel using the features of Orchid.
https://orchid.software
MIT License
137 stars 34 forks source link

Resource menu item disappears when permission not granted for one resource #61

Closed ap1969 closed 2 years ago

ap1969 commented 2 years ago

Hi, First - thanks for the great software, this is saving SOOOO much time.

I've spotted an issue though: I have multiple resources defined, and if the current user has access to all resources, then the "Resources" top-level menu item appears.

But if any one of the resources is not permitted, then the top level Resource item disappears.

See screenshots:

without-permissions with-permissions

tabuna commented 2 years ago

Hi Andy. It should be fixed with the release.

ap1969 commented 2 years ago

Fantastic!