Changeset 1322
- Timestamp:
- 01/13/08 14:52:06 (11 months ago)
- Files:
-
- trunk/wifidog-auth/CHANGELOG (modified) (1 diff)
- trunk/wifidog-auth/wifidog/classes/Node.php (modified) (2 diffs)
- trunk/wifidog-auth/wifidog/classes/Permission.php (modified) (1 diff)
- trunk/wifidog-auth/wifidog/lib (modified) (1 prop)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wifidog-auth/CHANGELOG
r1321 r1322 1 1 # $Id$ 2 2008-01-13 Benoit Grégoire <bock@step.polymtl.ca> 3 * Permission.php: Fix typo that caused "Tried to check if an object of class Server has a permission of type Network" errors. Changed the id from NETWORK_PERM_ADD_NEW_NODE to NETWORK_PERM_ADD_NODE so it will auto-delete the corrupted permission. 4 2 5 2008-01-11 Benoit Grégoire <bock@step.polymtl.ca> 3 6 * Use the Dependency system to include PHPMailer and tweak Mail.php. You'll need to re-run the Dpenedency stage of the install script. This allows: Translating PHPMailer error messages, Actually having PHPMailer error messages, and displaying them properly. trunk/wifidog-auth/wifidog/classes/Node.php
r1316 r1322 458 458 459 459 if ($network) { 460 Security::requirePermission(Permission::P('NETWORK_PERM_ADD_N EW_NODE'), $network);460 Security::requirePermission(Permission::P('NETWORK_PERM_ADD_NODE'), $network); 461 461 $retval = self::createNewObject($gw_id, $network); 462 462 } … … 1623 1623 } 1624 1624 } 1625 if(Security::hasPermission(Permission::P('NETWORK_PERM_ADD_N EW_NODE'))){1625 if(Security::hasPermission(Permission::P('NETWORK_PERM_ADD_NODE'))){ 1626 1626 $items[] = array('path' => 'node/node_add_new', 1627 1627 'title' => sprintf(_("Add a new node")), trunk/wifidog-auth/wifidog/classes/Permission.php
r1316 r1322 89 89 $PERMISSIONS['NETWORK_PERM_VIEW_STATISTICS'] = array(_("User is allowed to view all statistics for this network"), StakeholderType::Network, true); 90 90 $PERMISSIONS['NETWORK_PERM_EDIT_ANY_NODE_CONFIG'] = array(_("User is allowed to edit any configuration of any node on the network"), StakeholderType::Network, true); 91 $PERMISSIONS['NETWORK_PERM_ADD_N EW_NODE'] = array(_("User is allowed to create a new Node on this network"), StakeholderType::Server, true);91 $PERMISSIONS['NETWORK_PERM_ADD_NODE'] = array(_("User is allowed to create a new Node on this network"), StakeholderType::Network, true); 92 92 93 93 $PERMISSIONS['SERVER_PERM_EDIT_ROLES'] = array(_("User is allowed to edit user role definitions"), StakeholderType::Server, true); trunk/wifidog-auth/wifidog/lib
- Property svn:ignore changed from
*~
.directory
smarty
Phlickr
feedpressreview
simplepie
magpie
to
*~
.directory
smarty
Phlickr
feedpressreview
simplepie
magpie
PHPMailer_v2.0.0
Smarty*
- Property svn:ignore changed from
