Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #6164 Fix ajax editing of fields with invalid permission (danut00…
…7ro) This PR was squashed before being merged into the 4.x branch. Discussion ---------- Fix ajax editing of fields with invalid permission When editing a boolean field using ajax from index page it is not checked if it's valid. The field is now checked in the FieldCollection and an `AccessDeniedException` is thrown if field is not found. I did this PR with help from `@psihius` LE : I also added a check to disallow editing if the field is disabled. Commits ------- b90a94c Fix ajax editing of fields with invalid permission
- Loading branch information
Showing
4 changed files
with
55 additions
and
3 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