From 1064c5d3237c2478c564b8e3223b4bc9777395db Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Sat, 29 Nov 2008 17:46:33 +0000 Subject: [PATCH] Monotone-Parent: 162dd535bb3f333402e6c71f49cd3dc84644980c Monotone-Revision: 523fed02dc70f621abf4bedabf63f081f071683b Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-11-29T17:46:33 Monotone-Branch: ca.inverse.sogo --- SoObjects/SOGo/SOGoContentObject.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SoObjects/SOGo/SOGoContentObject.m b/SoObjects/SOGo/SOGoContentObject.m index 28ba25a9c..4828dd55a 100644 --- a/SoObjects/SOGo/SOGoContentObject.m +++ b/SoObjects/SOGo/SOGoContentObject.m @@ -449,6 +449,11 @@ if ([containerAcls count] > 0) { [acls addObjectsFromArray: containerAcls]; + /* The creation of an object is actually a "modification" to an + unexisting object. When the object is new, we give the + "ObjectCreator" the "ObjectModifier" role temporarily while we + disallow the "ObjectModifier" users to modify them, unless they are + ObjectCreators too. */ if (isNew) { if ([containerAcls containsObject: SOGoRole_ObjectCreator])