Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow disabling of new action #188

Merged
merged 1 commit into from
Aug 10, 2022
Merged

Conversation

Gazler
Copy link
Contributor

@Gazler Gazler commented Dec 10, 2020

This commit allows removing the "new" button and form actions by
overriding a new default_actions function in the admin section.

Currently only the new action can be disabled, but it should be
possible to disable edit and delete with the same API.

This commit allows removing the "new" button and form actions by
overriding a new `default_actions` function in the admin section.

Currently only the `new` action can be disabled, but it should be
possible to disable edit and delete with the same API.
@ukutaht
Copy link

ukutaht commented Jan 8, 2021

I'm interested in disabling the 'delete' action. Watching this 👀

@stefanluptak
Copy link

This would be very useful for us. We want to use Kaffy only to browse the data in a read-only mode.

@stefanluptak
Copy link

@Gazler what's missing in this PR please? Do you plan to work on it anytime soon? Just to know, if I should wait or try to do it myself. Thanks. :)

@Gazler Gazler marked this pull request as ready for review March 25, 2021 09:55
@kelcecil kelcecil added the enhancement New feature or request label Sep 20, 2021
@aesmail aesmail merged commit c0b16ca into aesmail:master Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants