| Issue 35: | Project does not have read/write flags | |
| 1 person starred this issue and may be notified of changes. | Back to list |
The Project entity does not supply access flags: read, write, delete. It should |
|
,
Jan 08, 2009
access flags are applied to company objects like:
SkyAccessManager *accessManager;
flags = [NSMutableArray arrayWithCapacity:16];
accessManager = [[self getCTX] accessManager];
if([accessManager operation:@"w"
allowedOnObjectIDs:[self _getEOsForPKeys:[_company objectForKey:@"companyId"]]
forAccessGlobalID:[self _getGlobalId]])
[flags addObject:@"WRITE"];
else [flags addObject:@"READONLY"]
which gives us WRITE or READONLY flags.
|
|
|
|