Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 28, 2006, 8:51:34 PM (18 years ago)
Author:
patrick
Message:

traced bug to the permissions system of the MASTER_SERVER permission level. try this

File:
1 edited

Legend:

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

    r9579 r9581  
    227227      hasPermission = true;
    228228    // SPECIAL: get write permissions if i am proxy server and i am able to overwrite the client stuff
     229    else if( SharedNetworkData::getInstance()->isProxyServerActive() && this->networkStream->isUserClient(userId)
     230             && (*it)->checkPermission( PERMISSION_MASTER_SERVER) )
     231      hasPermission = true;
    229232    else if( SharedNetworkData::getInstance()->isProxyServerActive() && this->networkStream->isUserClient(userId)
    230233             && this->owner != userId && (*it)->checkPermission( PERMISSION_OWNER ) )
Note: See TracChangeset for help on using the changeset viewer.