statamic / ideas

💡Discussions on ideas and feature requests for Statamic
https://statamic.dev
30 stars 1 forks source link

Make empty entries list respect user permissions #1098

Closed wiegertschouten closed 3 months ago

wiegertschouten commented 6 months ago

Currently, an empty collection index always looks like this:

image

This is regardless of the current user's permissions.

I think the following would be ideal:

I'll try and submit a PR when I find the time 🤞🏻

wiegertschouten commented 6 months ago

For reference: I think this should work the same way as the show view: https://github.com/statamic/cms/blob/0d98e11db6b24980235468f772222f75ebd875b7/resources/views/collections/show.blade.php#L33-L59