Show
Ignore:
Timestamp:
06/11/08 02:10:17 (5 years ago)
Author:
benoitg
Message:
  • Authenticator.php: Fix SQL error closing connections.
  • auth/index.php: Probably fix the "Access denied" message when user click twice problem that resurfaced.
  • At long last, implement operational Dynamic abuse control (out of the embryo of the token architecture)! Configurable in Network preferences if you have the permissions. Unlike static limits, this is a sliding window (typically a month) during which user have a bandwidth and connection duration limit, per node, and totalled throughout the network.
  • UIAllowedBandwidth: New, simplistic content type to show the user how much of his allocation he consumed. Off course, the goal is actually to make it into a pretty graph....
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog-auth/wifidog/classes/Node.php

    r1350 r1351  
    10321032    public function getAdminUI() 
    10331033    { 
     1034        $permArray=null; 
    10341035        $permArray[]=array(Permission::P('NETWORK_PERM_EDIT_ANY_NODE_CONFIG'), $this->getNetwork()); 
    10351036        $permArray[]=array(Permission::P('NODE_PERM_EDIT_CONFIG'), $this); 
     
    10441045        // Get information about the network 
    10451046        $network = $this->getNetwork(); 
    1046  
    1047         // Check if user is a admin 
    1048         $_userIsAdmin = User::getCurrentUser()->DEPRECATEDisSuperAdmin(); 
    1049  
     1047         
    10501048        $node_id = $this->getId(); 
    10511049 
     
    12491247         * Access rights 
    12501248         */ 
    1251         if ($_userIsAdmin) { 
     1249        if (User::getCurrentUser()->DEPRECATEDisSuperAdmin()) { 
    12521250            require_once('classes/Stakeholder.php'); 
    12531251            $html_access_rights = Stakeholder::getAssignStakeholdersUI($this);