"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "XmlRpcAPI/Actions.subproj/DirectAction+Generic.m" between
opengroupware-5.5rc2.tar.gz and opengroupware-5.5rc3.tar.gz

About: OpenGroupware is a branch of the "traditional" OpenGroupware collaboration system (developed in Objective-C on SOPE). Release candidate.

DirectAction+Generic.m  (opengroupware-5.5rc2):DirectAction+Generic.m  (opengroupware-5.5rc3)
skipping to change at line 40 skipping to change at line 40
/* /*
\brief Returns true or false if the object with url _access \brief Returns true or false if the object with url _access
has access (_op (rw..)) to the objects referred as urls has access (_op (rw..)) to the objects referred as urls
in _objs in _objs
\param op string containing the char flags, eg: 'rw' for read/write \param op string containing the char flags, eg: 'rw' for read/write
\param objs array of OGo URLs, eg: ( 10000, 10001 ) \param objs array of OGo URLs, eg: ( 10000, 10001 )
\access access OGo URL to the principal to test (default: login account) \access access OGo URL to the principal to test (default: login account)
\addtogroup XmlRpcGeneric \addtogroup XmlRpcGeneric
*/ */
- (id)access_operationAllowedOnObjectsForAccessAction:(id)_op - (id)access_operationAllowedOnObjectsForAccessAction:(id)_op
:(id)_objs:(id)_access :(id)_objs :(id)_access
{ {
LSCommandContext *cmdctx; LSCommandContext *cmdctx;
SkyAccessManager *accessManager; SkyAccessManager *accessManager;
id docManager, accessId; id docManager, accessId;
NSArray *objIds; NSArray *objIds;
BOOL ok; BOOL ok;
/* handle parameters */ /* handle parameters */
if (_objs == nil || _op == nil) if (_objs == nil || _op == nil)
skipping to change at line 91 skipping to change at line 91
/* /*
\brief Set the access given access right (_op) to the object referred as \brief Set the access given access right (_op) to the object referred as
url in _obj to the object _access (also referred as url. Returns true or url in _obj to the object _access (also referred as url. Returns true or
false on success or failed. false on success or failed.
\param op string containing the char flags, eg: 'rw' for read/write \param op string containing the char flags, eg: 'rw' for read/write
\param obj OGo URL of the object (eg: "10000") \param obj OGo URL of the object (eg: "10000")
\param access: OGo URL to the principal to test for (default: login account) \param access: OGo URL to the principal to test for (default: login account)
\addtogroup XmlRpcGeneric \addtogroup XmlRpcGeneric
*/ */
- (id)access_setOperationOnObjectForAccessAction:(id)_op:(id)_obj:(id)_access { - (id)access_setOperationOnObjectForAccessAction:(id)_op :(id)_obj :(id)_access {
LSCommandContext *cmdctx; LSCommandContext *cmdctx;
SkyAccessManager *accessManager; SkyAccessManager *accessManager;
id docManager, objId, accessId; id docManager, objId, accessId;
BOOL ok; BOOL ok;
if (_op == nil || _obj == nil) if (_op == nil || _obj == nil)
return nil; return nil;
cmdctx = [self commandContext]; cmdctx = [self commandContext];
docManager = [cmdctx documentManager]; docManager = [cmdctx documentManager];
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS