Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Commits on Apr 11, 2012
@mcdonc mcdonc garden 4a6dd55
@mcdonc mcdonc docstring 7cce920
Showing with 8 additions and 3 deletions.
  1. +4 −0 TODO.txt
  2. +4 −3 substanced/objectmap/
4 TODO.txt
@@ -9,3 +9,7 @@
- Undo last action.
+- Figure out a way to mutate ACLs when a principal referred to by one is
+ deleted. Maybe change ACL such that the principal id is replaced by an
+ unobtainable object id.
7 substanced/objectmap/
@@ -464,9 +464,10 @@ def node_path_tuple(resource):
@subscriber([Interface, IObjectWillBeAddedEvent])
def object_will_be_added(obj, event):
- """ Give content an __objectid__ and index it (an IObjectWillBeAddedEvent
- subscriber, so objects always have an __objectid__ within the more
- convenient IObjectAddedEvent)"""
+ """ Objects added to folders must always have an __objectid__. This must
+ be an IObjectWillBeAdded event subscriber so that a resulting object
+ will have an __objectid__ within the (more convenient) IObjectAddedEvent
+ fired later."""
parent = event.parent
objectmap = find_service(parent, 'objectmap')
if objectmap is None:

No commit comments for this range

Something went wrong with that request. Please try again.