-
Notifications
You must be signed in to change notification settings - Fork 591
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
insert and update methods take a skippable
options
parameter, which…
… may specify `permissions: false`. The correct doc type edit permission is checked. Dead config code removal in permissions module. If permissions are being skipped, do not add a permission for the current user as creator. beforeCreate/afterCreate are now beforeInsert/afterInsert to match the method names. Piece managers call their override point methods from their insert and update methods, not just from the routes. Eliminated iffy findIfContextual method of pieces. Unit tests passing, new forms tutorial tests new permissions: false functionality successfully. Will test more this afternoon before merging. See corresponding PR for apostrophe-events.
- Loading branch information
Tom Boutell
committed
Sep 2, 2016
1 parent
4af711c
commit ac1476d
Showing
8 changed files
with
247 additions
and
112 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
Oops, something went wrong.