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

small-feature: adding control if the create button will be displayed in ListScreen #87

Open seleziomar opened 1 year ago

seleziomar commented 1 year ago

Adding control if the create button will be displayed in ListScreen

Captura de Tela 2023-04-07 às 18 26 16

Captura de Tela 2023-04-07 às 18 26 30

tabuna commented 6 months ago

Hi! Thank you for PR. I wanted to ask, why didn't the existing model policy-based action show/hide system suit? Are there any particular features or requirements that aren't met by the current system? I would appreciate hearing your thoughts on this.

seleziomar commented 6 months ago

Hello, thank you for responding to my PR. At times, I don't want the user to have the option to create new records, only to edit the existing ones. Therefore, this feature of hiding the button can help to avoid making it "superfluous."

Em qua., 21 de fev. de 2024 às 00:07, Alexandr Chernyaev < @.***> escreveu:

Hi! Thank you for PR. I wanted to ask, why didn't the existing model policy-based https://orchid.software/en/docs/packages/crud/#policies action show/hide system suit? Are there any particular features or requirements that aren't met by the current system? I would appreciate hearing your thoughts on this.

— Reply to this email directly, view it on GitHub https://github.com/orchidsoftware/crud/pull/87#issuecomment-1955794579, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANNB7YD3JEY6VHY25GQMTMLYUVQI5AVCNFSM6AAAAAAWW6FQASVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJVG44TINJXHE . You are receiving this because you authored the thread.Message ID: @.***>