cvs: pear /LiveUser package.php package.xml
| From: | Lukas Smith | Date: | Tue, 21 Feb 2006 19:37:10 +0000 |
| Subject: | cvs: pear /LiveUser package.php package.xml | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-38469@lists.php.net to get a copy of this message | ||
lsmith Tue Feb 21 19:37:10 2006 UTC
Modified files:
/pear/LiveUser package.php package.xml
Log:
- updated for upcoming release
http://cvs.php.net/viewcvs.cgi/pear/LiveUser/package.php?r1=1.96&r2=1.97&diff_format=u Index: pear/LiveUser/package.php diff -u pear/LiveUser/package.php:1.96 pear/LiveUser/package.php:1.97 --- pear/LiveUser/package.php:1.96 Wed Feb 15 10:41:41 2006 +++ pear/LiveUser/package.php Tue Feb 21 19:37:10 2006 @@ -4,7 +4,7 @@ * * Taken from PEAR::Log, thanks Jon ;) * - * $Id: package.php,v 1.96 2006/02/15 10:41:41 lsmith Exp $ + * $Id: package.php,v 1.97 2006/02/21 19:37:10 lsmith Exp $ */ require_once 'PEAR/PackageFileManager.php'; require_once 'Console/Getopt.php'; @@ -12,7 +12,24 @@ $version = '0.16.9'; $notes = <<<EOT -- fixed major bug in PEARAuth container :auth_user_id is not an optional property +This releases fixes a minor security issue that is limited to the optional +remember me feature. This issue was report to us by GulfTech Security Research. + +The issue would allow an attacker to determine the existance of files inside the +file system, as well as being able to delete files: +- if the relativ path is shorter than 32 characters (including a null +byte) +- if null bytes are handled inside the "_COOKIE" superglobal, for example +through usage of magic_quotes_gpc, the issue becomes essentially limited to +files ending with ".lu". + +All installations using the remember me feature are strongly urged to update. +This release also changes some other aspects including a BC break so developers +can optionally patch their current installations from the changes in the +following commit: +http://cvs.php.net/viewcvs.cgi/pear/LiveUser/LiveUser.php?r1=1.148&r2=1.149&diff_format=u + +- fixed major bug in PEARAuth container: auth_user_id is not an optional property - added passwordEncryptionMode and secret to phpdoc comment - made cryptRC4() method public to match usage in auth common in the client and admin api - fixed handling of the secret user defineable property (bug #6551) @@ -29,6 +46,51 @@ - initial untested support for PDO in the installer - added examples for setting length and defaults to installer - use overwrite when unlink is enabled in the installer +- reworked handling of merging user with group rights *BC BREAK* +When using the Medium or Complex container a user may gain rights through direct +assignment or through membership in a group that has rights assigned. The user +and group rights are merged with the following logic: +* if the right is only assigned to a member group but not the user the right is + available to the user at the level at which the group has the right +* if the right is only assigned to the user at a level greater than zero but not + to a member group the right is available to the user at the level at which + user has the right +* if the right is only assigned to the user at a level equal to zero but not + to a member group the right is available to the user at the level at which + user has the right +* if the right is only assigned to the user at a level lower than zero but not + to a member group then the right is unavailable to the user +* if the is assigned to a member group and the user and the level at which the + user has the right is greater than zero, then the right is available to the + user at higher level of the two +* if the is assigned to a member group and the user and the level at which the + user has the right is equal to zero, then the right is unavailable to the user +* if the is assigned to a member group and the user and the level at which the + user has the right is lower than zero, then the right is available to the + user at the minimum of the group assigned level and the addition of the + negativ user level and the maximum level +Example: +The user as the following right_id => level pairs +array + 1 => 3 + 2 => -2 + 3 => 0 + 5 => -1 + +The groups he is a member of have the following right_id => level pairs +array + 1 => 1 + 2 => 3 + 3 => 3 + 4 => 2 + +The final right_id => level pairs are as follows +array + 1 => 3 // user has a higher level (3) than the group level (1) + 2 => 1 // 3 - 2 means a maximum possible level of 1 + 4 => 2 // only group has the right at level 2 + 5 => 2 // only user has the right at level 3 - 1 = 2 + EOT; $description = <<<EOT http://cvs.php.net/viewcvs.cgi/pear/LiveUser/package.xml?r1=1.42&r2=1.43&diff_format=u Index: pear/LiveUser/package.xml diff -u pear/LiveUser/package.xml:1.42 pear/LiveUser/package.xml:1.43 --- pear/LiveUser/package.xml:1.42 Wed Dec 21 23:09:02 2005 +++ pear/LiveUser/package.xml Tue Feb 21 19:37:10 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0"> -<package version="1.0" packagerversion="1.4.5"> +<package version="1.0" packagerversion="1.4.6"> <name>LiveUser</name> <summary>User authentication and permission management framework</summary> <description>LiveUser is a set of classes for dealing with user authentication @@ -29,7 +29,7 @@ and user data. Just make a new container type and you're ready to go! Currently available are containers using: - PEAR::DB, PEAR::MDB, PEAR::MDB2, PEAR::XML_Tree and PEAR::Auth. + PEAR::DB, PEAR::MDB, PEAR::MDB2, PECL::PDO, PEAR::XML_Tree, PEAR::Auth, Session. </description> <maintainers> <maintainer> @@ -64,42 +64,88 @@ </maintainer> </maintainers> <release> - <version>0.16.8</version> - <date>2005-12-21</date> + <version>0.16.9</version> + <date>2006-02-21</date> <license>LGPL</license> <state>beta</state> - <notes>- clearer status and error messages -- fix a bug with the passed Log object being discarded -- extra debug info when the auth container is instantiated -- more helpful error message when the class cannot be loaded -- make the PEAR::Auth wrapper use the passed handle and password -- fixed phpdoc typo in singleton method (bug #5668) -- fixed ability to call singleton() with only the conf parameter set, even if - singleton was never called before (bug #5669) -- fixed issue in factoryStorage() that would lead to modifying the config array (bug #5526) -- added ability to disable executing the sql commands on installSchema() -- set status after logging out not before -- tweaked error messages for failed factory method calls -- fix for calling singleton without a signature string (bug #5905) -- attempt at checking if it is safe to start the session, add an error to the stack if not and return -- minor performance tweak in login() -- reordered code inside login() to make onFailedMapping events more powerful -- improved handling of INACTIVE status -- stop using backendArrayIndex infavor of containerName property in the auth instance -- removed loginTimeout feature (disable lastlogin if you are concerned about - the cost of updating the lastlogin time) -- handle option user data properties in readUserData() in the PEAR::Auth wrapper -- added a few return true's for method that returned void so far -- tons of phpdoc and whitespace fixes and additions -- add missing css file in example5 -- only read remember me cookie in login() if remember was passed as true (bug #6215) -- handle and password are passed to reeadUserData in the PEARAuth container -- reworked file loading in loadClass() to work around issues in safe_mode with - LiveUser::fileExists() (bug #6226) -- moved all explict handling of logout() and login() out of the init() method *BC BREAK* -- made setRememberCookie(), readRememberCookie() and deleteRememberCookie public -- setRememberCookie() no longer accepts a remember parameter -- added PDO backend and optional pdo based config for example5 + <notes>This releases fixes a minor security issue that is limited to the optional +remember me feature. This issue was report to us by GulfTech Security Research. + +The issue would allow an attacker to determine the existance of files inside the +file system, as well as being able to delete files: +- if the relativ path is shorter than 32 characters (including a null +byte) +- if null bytes are handled inside the "_COOKIE" superglobal, for example +through usage of magic_quotes_gpc, the issue becomes essentially limited to +files ending with ".lu". + +All installations using the remember me feature are strongly urged to update. +This release also changes some other aspects including a BC break so developers +can optionally patch their current installations from the changes in the +following commit: +http://cvs.php.net/viewcvs.cgi/pear/LiveUser/LiveUser.php?r1=1.148&r2=1.149&diff_format=u + +- fixed major bug in PEARAuth container: auth_user_id is not an optional property +- added passwordEncryptionMode and secret to phpdoc comment +- made cryptRC4() method public to match usage in auth common in the client and admin api +- fixed handling of the secret user defineable property (bug #6551) +- added support for user_group_ids (bug #6517) +- allow grouprights and groupusers table to join eachother +- updateProperty doesn't update the session (bug #6612) +- renamed "connection" config option to "dbc" *BC BREAK* +- cleaned up and unified init() in the storage classes +- added example for dumping SQL to a file to installer +- add support for force_seq to installer +- removed allowDuplicateHandles and allowEmptyPasswords options, they are now + handled through the table definition in the given Globals.php (overwriteable + via the config array) *BC BREAK* +- initial untested support for PDO in the installer +- added examples for setting length and defaults to installer +- use overwrite when unlink is enabled in the installer +- reworked handling of merging user with group rights *BC BREAK* +When using the Medium or Complex container a user may gain rights through direct +assignment or through membership in a group that has rights assigned. The user +and group rights are merged with the following logic: +* if the right is only assigned to a member group but not the user the right is + available to the user at the level at which the group has the right +* if the right is only assigned to the user at a level greater than zero but not + to a member group the right is available to the user at the level at which + user has the right +* if the right is only assigned to the user at a level equal to zero but not + to a member group the right is available to the user at the level at which + user has the right +* if the right is only assigned to the user at a level lower than zero but not + to a member group then the right is unavailable to the user +* if the is assigned to a member group and the user and the level at which the + user has the right is greater than zero, then the right is available to the + user at higher level of the two +* if the is assigned to a member group and the user and the level at which the + user has the right is equal to zero, then the right is unavailable to the user +* if the is assigned to a member group and the user and the level at which the + user has the right is lower than zero, then the right is available to the + user at the minimum of the group assigned level and the addition of the + negativ user level and the maximum level +Example: +The user as the following right_id => level pairs +array + 1 => 3 + 2 => -2 + 3 => 0 + 5 => -1 + +The groups he is a member of have the following right_id => level pairs +array + 1 => 1 + 2 => 3 + 3 => 3 + 4 => 2 + +The final right_id => level pairs are as follows +array + 1 => 3 // user has a higher level (3) than the group level (1) + 2 => 1 // 3 - 2 means a maximum possible level of 1 + 4 => 2 // only group has the right at level 2 + 5 => 2 // only user has the right at level 3 - 1 = 2 </notes> <deps> <dep type="php" rel="ge" version="4.2.0" optional="no"/> @@ -212,6 +258,91 @@ </release> <changelog> <release> + <version>0.16.9</version> + <date>2006-02-21</date> + <license>LGPL</license> + <state>beta</state> + <notes>This releases fixes a minor security issue that is limited to the optional +remember me feature. This issue was report to us by GulfTech Security Research. + +The issue would allow an attacker to determine the existance of files inside the +file system, as well as being able to delete files: +- if the relativ path is shorter than 32 characters (including a null +byte) +- if null bytes are handled inside the "_COOKIE" superglobal, for example +through usage of magic_quotes_gpc, the issue becomes essentially limited to +files ending with ".lu". + +All installations using the remember me feature are strongly urged to update. +This release also changes some other aspects including a BC break so developers +can optionally patch their current installations from the changes in the +following commit: +http://cvs.php.net/viewcvs.cgi/pear/LiveUser/LiveUser.php?r1=1.148&r2=1.149&diff_format=u + +- fixed major bug in PEARAuth container: auth_user_id is not an optional property +- added passwordEncryptionMode and secret to phpdoc comment +- made cryptRC4() method public to match usage in auth common in the client and admin api +- fixed handling of the secret user defineable property (bug #6551) +- added support for user_group_ids (bug #6517) +- allow grouprights and groupusers table to join eachother +- updateProperty doesn't update the session (bug #6612) +- renamed "connection" config option to "dbc" *BC BREAK* +- cleaned up and unified init() in the storage classes +- added example for dumping SQL to a file to installer +- add support for force_seq to installer +- removed allowDuplicateHandles and allowEmptyPasswords options, they are now + handled through the table definition in the given Globals.php (overwriteable + via the config array) *BC BREAK* +- initial untested support for PDO in the installer +- added examples for setting length and defaults to installer +- use overwrite when unlink is enabled in the installer +- reworked handling of merging user with group rights *BC BREAK* +When using the Medium or Complex container a user may gain rights through direct +assignment or through membership in a group that has rights assigned. The user +and group rights are merged with the following logic: +* if the right is only assigned to a member group but not the user the right is + available to the user at the level at which the group has the right +* if the right is only assigned to the user at a level greater than zero but not + to a member group the right is available to the user at the level at which + user has the right +* if the right is only assigned to the user at a level equal to zero but not + to a member group the right is available to the user at the level at which + user has the right +* if the right is only assigned to the user at a level lower than zero but not + to a member group then the right is unavailable to the user +* if the is assigned to a member group and the user and the level at which the + user has the right is greater than zero, then the right is available to the + user at higher level of the two +* if the is assigned to a member group and the user and the level at which the + user has the right is equal to zero, then the right is unavailable to the user +* if the is assigned to a member group and the user and the level at which the + user has the right is lower than zero, then the right is available to the + user at the minimum of the group assigned level and the addition of the + negativ user level and the maximum level +Example: +The user as the following right_id => level pairs +array + 1 => 3 + 2 => -2 + 3 => 0 + 5 => -1 + +The groups he is a member of have the following right_id => level pairs +array + 1 => 1 + 2 => 3 + 3 => 3 + 4 => 2 + +The final right_id => level pairs are as follows +array + 1 => 3 // user has a higher level (3) than the group level (1) + 2 => 1 // 3 - 2 means a maximum possible level of 1 + 4 => 2 // only group has the right at level 2 + 5 => 2 // only user has the right at level 3 - 1 = 2 + </notes> + </release> + <release> <version>0.16.8</version> <date>2005-12-21</date> <license>LGPL</license>
http://cvs.php.net/viewcvs.cgi/pear/LiveUser/package.php?r1=1.96&r2=1.97&diff_format=u Index: pear/LiveUser/package.php diff -u pear/LiveUser/package.php:1.96 pear/LiveUser/package.php:1.97 --- pear/LiveUser/package.php:1.96 Wed Feb 15 10:41:41 2006 +++ pear/LiveUser/package.php Tue Feb 21 19:37:10 2006 @@ -4,7 +4,7 @@ * * Taken from PEAR::Log, thanks Jon ;) * - * $Id: package.php,v 1.96 2006/02/15 10:41:41 lsmith Exp $ + * $Id: package.php,v 1.97 2006/02/21 19:37:10 lsmith Exp $ */ require_once 'PEAR/PackageFileManager.php'; require_once 'Console/Getopt.php'; @@ -12,7 +12,24 @@ $version = '0.16.9'; $notes = <<<EOT -- fixed major bug in PEARAuth container :auth_user_id is not an optional property +This releases fixes a minor security issue that is limited to the optional +remember me feature. This issue was report to us by GulfTech Security Research. + +The issue would allow an attacker to determine the existance of files inside the +file system, as well as being able to delete files: +- if the relativ path is shorter than 32 characters (including a null +byte) +- if null bytes are handled inside the "_COOKIE" superglobal, for example +through usage of magic_quotes_gpc, the issue becomes essentially limited to +files ending with ".lu". + +All installations using the remember me feature are strongly urged to update. +This release also changes some other aspects including a BC break so developers +can optionally patch their current installations from the changes in the +following commit: +http://cvs.php.net/viewcvs.cgi/pear/LiveUser/LiveUser.php?r1=1.148&r2=1.149&diff_format=u + +- fixed major bug in PEARAuth container: auth_user_id is not an optional property - added passwordEncryptionMode and secret to phpdoc comment - made cryptRC4() method public to match usage in auth common in the client and admin api - fixed handling of the secret user defineable property (bug #6551) @@ -29,6 +46,51 @@ - initial untested support for PDO in the installer - added examples for setting length and defaults to installer - use overwrite when unlink is enabled in the installer +- reworked handling of merging user with group rights *BC BREAK* +When using the Medium or Complex container a user may gain rights through direct +assignment or through membership in a group that has rights assigned. The user +and group rights are merged with the following logic: +* if the right is only assigned to a member group but not the user the right is + available to the user at the level at which the group has the right +* if the right is only assigned to the user at a level greater than zero but not + to a member group the right is available to the user at the level at which + user has the right +* if the right is only assigned to the user at a level equal to zero but not + to a member group the right is available to the user at the level at which + user has the right +* if the right is only assigned to the user at a level lower than zero but not + to a member group then the right is unavailable to the user +* if the is assigned to a member group and the user and the level at which the + user has the right is greater than zero, then the right is available to the + user at higher level of the two +* if the is assigned to a member group and the user and the level at which the + user has the right is equal to zero, then the right is unavailable to the user +* if the is assigned to a member group and the user and the level at which the + user has the right is lower than zero, then the right is available to the + user at the minimum of the group assigned level and the addition of the + negativ user level and the maximum level +Example: +The user as the following right_id => level pairs +array + 1 => 3 + 2 => -2 + 3 => 0 + 5 => -1 + +The groups he is a member of have the following right_id => level pairs +array + 1 => 1 + 2 => 3 + 3 => 3 + 4 => 2 + +The final right_id => level pairs are as follows +array + 1 => 3 // user has a higher level (3) than the group level (1) + 2 => 1 // 3 - 2 means a maximum possible level of 1 + 4 => 2 // only group has the right at level 2 + 5 => 2 // only user has the right at level 3 - 1 = 2 + EOT; $description = <<<EOT http://cvs.php.net/viewcvs.cgi/pear/LiveUser/package.xml?r1=1.42&r2=1.43&diff_format=u Index: pear/LiveUser/package.xml diff -u pear/LiveUser/package.xml:1.42 pear/LiveUser/package.xml:1.43 --- pear/LiveUser/package.xml:1.42 Wed Dec 21 23:09:02 2005 +++ pear/LiveUser/package.xml Tue Feb 21 19:37:10 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE package SYSTEM "http://pear.php.net/dtd/package-1.0"> -<package version="1.0" packagerversion="1.4.5"> +<package version="1.0" packagerversion="1.4.6"> <name>LiveUser</name> <summary>User authentication and permission management framework</summary> <description>LiveUser is a set of classes for dealing with user authentication @@ -29,7 +29,7 @@ and user data. Just make a new container type and you're ready to go! Currently available are containers using: - PEAR::DB, PEAR::MDB, PEAR::MDB2, PEAR::XML_Tree and PEAR::Auth. + PEAR::DB, PEAR::MDB, PEAR::MDB2, PECL::PDO, PEAR::XML_Tree, PEAR::Auth, Session. </description> <maintainers> <maintainer> @@ -64,42 +64,88 @@ </maintainer> </maintainers> <release> - <version>0.16.8</version> - <date>2005-12-21</date> + <version>0.16.9</version> + <date>2006-02-21</date> <license>LGPL</license> <state>beta</state> - <notes>- clearer status and error messages -- fix a bug with the passed Log object being discarded -- extra debug info when the auth container is instantiated -- more helpful error message when the class cannot be loaded -- make the PEAR::Auth wrapper use the passed handle and password -- fixed phpdoc typo in singleton method (bug #5668) -- fixed ability to call singleton() with only the conf parameter set, even if - singleton was never called before (bug #5669) -- fixed issue in factoryStorage() that would lead to modifying the config array (bug #5526) -- added ability to disable executing the sql commands on installSchema() -- set status after logging out not before -- tweaked error messages for failed factory method calls -- fix for calling singleton without a signature string (bug #5905) -- attempt at checking if it is safe to start the session, add an error to the stack if not and return -- minor performance tweak in login() -- reordered code inside login() to make onFailedMapping events more powerful -- improved handling of INACTIVE status -- stop using backendArrayIndex infavor of containerName property in the auth instance -- removed loginTimeout feature (disable lastlogin if you are concerned about - the cost of updating the lastlogin time) -- handle option user data properties in readUserData() in the PEAR::Auth wrapper -- added a few return true's for method that returned void so far -- tons of phpdoc and whitespace fixes and additions -- add missing css file in example5 -- only read remember me cookie in login() if remember was passed as true (bug #6215) -- handle and password are passed to reeadUserData in the PEARAuth container -- reworked file loading in loadClass() to work around issues in safe_mode with - LiveUser::fileExists() (bug #6226) -- moved all explict handling of logout() and login() out of the init() method *BC BREAK* -- made setRememberCookie(), readRememberCookie() and deleteRememberCookie public -- setRememberCookie() no longer accepts a remember parameter -- added PDO backend and optional pdo based config for example5 + <notes>This releases fixes a minor security issue that is limited to the optional +remember me feature. This issue was report to us by GulfTech Security Research. + +The issue would allow an attacker to determine the existance of files inside the +file system, as well as being able to delete files: +- if the relativ path is shorter than 32 characters (including a null +byte) +- if null bytes are handled inside the "_COOKIE" superglobal, for example +through usage of magic_quotes_gpc, the issue becomes essentially limited to +files ending with ".lu". + +All installations using the remember me feature are strongly urged to update. +This release also changes some other aspects including a BC break so developers +can optionally patch their current installations from the changes in the +following commit: +http://cvs.php.net/viewcvs.cgi/pear/LiveUser/LiveUser.php?r1=1.148&r2=1.149&diff_format=u + +- fixed major bug in PEARAuth container: auth_user_id is not an optional property +- added passwordEncryptionMode and secret to phpdoc comment +- made cryptRC4() method public to match usage in auth common in the client and admin api +- fixed handling of the secret user defineable property (bug #6551) +- added support for user_group_ids (bug #6517) +- allow grouprights and groupusers table to join eachother +- updateProperty doesn't update the session (bug #6612) +- renamed "connection" config option to "dbc" *BC BREAK* +- cleaned up and unified init() in the storage classes +- added example for dumping SQL to a file to installer +- add support for force_seq to installer +- removed allowDuplicateHandles and allowEmptyPasswords options, they are now + handled through the table definition in the given Globals.php (overwriteable + via the config array) *BC BREAK* +- initial untested support for PDO in the installer +- added examples for setting length and defaults to installer +- use overwrite when unlink is enabled in the installer +- reworked handling of merging user with group rights *BC BREAK* +When using the Medium or Complex container a user may gain rights through direct +assignment or through membership in a group that has rights assigned. The user +and group rights are merged with the following logic: +* if the right is only assigned to a member group but not the user the right is + available to the user at the level at which the group has the right +* if the right is only assigned to the user at a level greater than zero but not + to a member group the right is available to the user at the level at which + user has the right +* if the right is only assigned to the user at a level equal to zero but not + to a member group the right is available to the user at the level at which + user has the right +* if the right is only assigned to the user at a level lower than zero but not + to a member group then the right is unavailable to the user +* if the is assigned to a member group and the user and the level at which the + user has the right is greater than zero, then the right is available to the + user at higher level of the two +* if the is assigned to a member group and the user and the level at which the + user has the right is equal to zero, then the right is unavailable to the user +* if the is assigned to a member group and the user and the level at which the + user has the right is lower than zero, then the right is available to the + user at the minimum of the group assigned level and the addition of the + negativ user level and the maximum level +Example: +The user as the following right_id => level pairs +array + 1 => 3 + 2 => -2 + 3 => 0 + 5 => -1 + +The groups he is a member of have the following right_id => level pairs +array + 1 => 1 + 2 => 3 + 3 => 3 + 4 => 2 + +The final right_id => level pairs are as follows +array + 1 => 3 // user has a higher level (3) than the group level (1) + 2 => 1 // 3 - 2 means a maximum possible level of 1 + 4 => 2 // only group has the right at level 2 + 5 => 2 // only user has the right at level 3 - 1 = 2 </notes> <deps> <dep type="php" rel="ge" version="4.2.0" optional="no"/> @@ -212,6 +258,91 @@ </release> <changelog> <release> + <version>0.16.9</version> + <date>2006-02-21</date> + <license>LGPL</license> + <state>beta</state> + <notes>This releases fixes a minor security issue that is limited to the optional +remember me feature. This issue was report to us by GulfTech Security Research. + +The issue would allow an attacker to determine the existance of files inside the +file system, as well as being able to delete files: +- if the relativ path is shorter than 32 characters (including a null +byte) +- if null bytes are handled inside the "_COOKIE" superglobal, for example +through usage of magic_quotes_gpc, the issue becomes essentially limited to +files ending with ".lu". + +All installations using the remember me feature are strongly urged to update. +This release also changes some other aspects including a BC break so developers +can optionally patch their current installations from the changes in the +following commit: +http://cvs.php.net/viewcvs.cgi/pear/LiveUser/LiveUser.php?r1=1.148&r2=1.149&diff_format=u + +- fixed major bug in PEARAuth container: auth_user_id is not an optional property +- added passwordEncryptionMode and secret to phpdoc comment +- made cryptRC4() method public to match usage in auth common in the client and admin api +- fixed handling of the secret user defineable property (bug #6551) +- added support for user_group_ids (bug #6517) +- allow grouprights and groupusers table to join eachother +- updateProperty doesn't update the session (bug #6612) +- renamed "connection" config option to "dbc" *BC BREAK* +- cleaned up and unified init() in the storage classes +- added example for dumping SQL to a file to installer +- add support for force_seq to installer +- removed allowDuplicateHandles and allowEmptyPasswords options, they are now + handled through the table definition in the given Globals.php (overwriteable + via the config array) *BC BREAK* +- initial untested support for PDO in the installer +- added examples for setting length and defaults to installer +- use overwrite when unlink is enabled in the installer +- reworked handling of merging user with group rights *BC BREAK* +When using the Medium or Complex container a user may gain rights through direct +assignment or through membership in a group that has rights assigned. The user +and group rights are merged with the following logic: +* if the right is only assigned to a member group but not the user the right is + available to the user at the level at which the group has the right +* if the right is only assigned to the user at a level greater than zero but not + to a member group the right is available to the user at the level at which + user has the right +* if the right is only assigned to the user at a level equal to zero but not + to a member group the right is available to the user at the level at which + user has the right +* if the right is only assigned to the user at a level lower than zero but not + to a member group then the right is unavailable to the user +* if the is assigned to a member group and the user and the level at which the + user has the right is greater than zero, then the right is available to the + user at higher level of the two +* if the is assigned to a member group and the user and the level at which the + user has the right is equal to zero, then the right is unavailable to the user +* if the is assigned to a member group and the user and the level at which the + user has the right is lower than zero, then the right is available to the + user at the minimum of the group assigned level and the addition of the + negativ user level and the maximum level +Example: +The user as the following right_id => level pairs +array + 1 => 3 + 2 => -2 + 3 => 0 + 5 => -1 + +The groups he is a member of have the following right_id => level pairs +array + 1 => 1 + 2 => 3 + 3 => 3 + 4 => 2 + +The final right_id => level pairs are as follows +array + 1 => 3 // user has a higher level (3) than the group level (1) + 2 => 1 // 3 - 2 means a maximum possible level of 1 + 4 => 2 // only group has the right at level 2 + 5 => 2 // only user has the right at level 3 - 1 = 2 + </notes> + </release> + <release> <version>0.16.8</version> <date>2005-12-21</date> <license>LGPL</license>