laravel-streams / streams-core

Streams is an open-source web application engine for Laravel.
https://streams.dev
Other
170 stars 99 forks source link

Hide dropdown buttons we don't have permission to use. #689

Closed bubba169 closed 4 years ago

bubba169 commented 4 years ago

Currently the dropdown buttons are shown and link to a page that errors with a 403 status. To prevent confusion for end users, the dropdown button is now hidden. This is configured using the existing permission key in the buttons array.

RyanThompson commented 4 years ago

Nice one! Thank you.