-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature #358 Introduced a new "disabled_actions" option (javiereguiluz)
This PR was squashed before being merged into the master branch (closes #358). Discussion ---------- Introduced a new "disabled_actions" option ### The problem Right now we use the action configuration to do two totally different things: configure how an action should look like and define which actions are enabled. ### The solution We now define a `disabled_actions` option which can be defined at global level or entity level: ```yaml easy_admin: disabled_actions: ['new', 'edit'] # ... entities: Category: disabled_actions: ['show'] ``` The `disabled_actions` just defines the list of actions disabled for the given entity. The current `actions` option tweak the way actions are displayed in each view. This allows us to simplify everything and get rid of the `view` parameter. Code is ready, tests are updated and I just need to fix the documentation. Commits ------- f4aaa14 Introduced a new "disabled_actions" option
- Loading branch information
Showing
157 changed files
with
1,162 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.