Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9469 in orxonox.OLD for branches/proxy/src/lib/network


Ignore:
Timestamp:
Jul 25, 2006, 8:48:18 PM (18 years ago)
Author:
patrick
Message:

permission changed: proxy cannot override in the way the master server can

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/network/synchronizeable.cc

    r9466 r9469  
    225225      hasPermission = true;
    226226    // SPECIAL: get write permissions if i am proxy server and i am able to overwrite the client stuff
    227     else if( SharedNetworkData::getInstance()->isProxyServerActive()  && this->owner != userId && (*it)->checkPermission( PERMISSION_OWNER ))
    228       hasPermission = true;
     227//     else if( SharedNetworkData::getInstance()->isProxyServerActive()  && this->owner != userId && (*it)->checkPermission( PERMISSION_OWNER ))
     228//       hasPermission = true;
    229229    else
    230230      hasPermission = false;
     
    366366      hasPermission = true;
    367367    // SPECIAL: get write permissions if im sending to a proxy server that does not own this sync
    368     else if( this->networkStream->isUserProxyServerActive( userId )  && this->owner != SharedNetworkData::getInstance()->getHostID() && (*it)->checkPermission( PERMISSION_OWNER ))
    369       hasPermission = true;
     368//     else if( this->networkStream->isUserProxyServerActive( userId )  && this->owner != SharedNetworkData::getInstance()->getHostID() && (*it)->checkPermission( PERMISSION_OWNER ))
     369//       hasPermission = true;
    370370    else
    371371      hasPermission = false;
Note: See TracChangeset for help on using the changeset viewer.