diff --git a/SoObjects/SOGo/SOGoUser.m b/SoObjects/SOGo/SOGoUser.m index 89d6b7f0e..db9b6dcbe 100644 --- a/SoObjects/SOGo/SOGoUser.m +++ b/SoObjects/SOGo/SOGoUser.m @@ -687,6 +687,7 @@ NSString *SOGoWeekStartFirstFullWeek = @"FirstFullWeek"; { NSMutableArray *rolesForObject; NSArray *sogoRoles; + NSString *rqMethod; rolesForObject = [NSMutableArray new]; [rolesForObject autorelease]; @@ -708,6 +709,11 @@ NSString *SOGoWeekStartFirstFullWeek = @"FirstFullWeek"; [rolesForObject addObject: SOGoRole_AuthorizedSubscriber]; } +#warning this is a hack to work-around the poor implementation of PROPPATCH in SOPE + rqMethod = [[context request] method]; + if ([rqMethod isEqualToString: @"PROPPATCH"]) + [rolesForObject addObject: @"PROPPATCHer"]; + return rolesForObject; } diff --git a/UI/MainUI/product.plist b/UI/MainUI/product.plist index 952e54742..856247d9e 100644 --- a/UI/MainUI/product.plist +++ b/UI/MainUI/product.plist @@ -20,7 +20,7 @@ defaultAccess = "allow"; defaultRoles = { "View" = ( "Owner", "ObjectViewer" ); - "Change Images And Files" = ( "Owner", "ObjectEditor" ); + "Change Images And Files" = ( "Owner", "ObjectEditor", "PROPPATCHer" ); "Access Object" = ( "Owner", "AuthorizedSubscriber" ); "Access Contents Information" = ( "Owner", "ObjectViewer" ); "Add Documents, Images, and Files" = ( "Owner", "ObjectCreator" ); diff --git a/UI/WebServerResources/UIxCalendarProperties.css b/UI/WebServerResources/UIxCalendarProperties.css index dc80db088..4ab24e1e8 100644 --- a/UI/WebServerResources/UIxCalendarProperties.css +++ b/UI/WebServerResources/UIxCalendarProperties.css @@ -1,25 +1,24 @@ LABEL { display: block; position: relative; - line-height: 1.5em; - height: 1.5em; - margin-left: .5em; - margin-bottom: .5em; + line-height: 18px; + height: 20px; + margin-left: 5px; + margin-bottom: 5px; width: 100%; } DIV#propertiesView { overflow: hidden; - padding: .5em; } + padding: 10px; } SPAN.content { position: absolute; top: -.25em; - left: 8em; + left: 4em; right: 1em; } BUTTON#colorButton -{ - display: none; +{ display: none; margin: 1px; border-bottom: 1px solid #fff; border-right: 1px solid #fff; @@ -28,9 +27,9 @@ BUTTON#colorButton -moz-border-top-colors: #9c9a94 #000 transparent; -moz-border-left-colors: #9c9a94 #000 transparent; width: 3em; - height: 2em; -} + height: 2em; } DIV#buttons -{ padding: .5em; +{ padding: 10px; + padding-top: 0px; text-align: right; }