Monotone-Parent: 7a02739cae6babfe41777a34b6d6949a9385d396

Monotone-Revision: 3af313e92fa3e0c4620aa4faa4a2938d87577661

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-04-22T15:56:51
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2008-04-22 15:56:51 +00:00
parent 52098ec649
commit e76fd9bd4d
3 changed files with 17 additions and 12 deletions

View File

@ -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;
}

View File

@ -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" );

View File

@ -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; }