Top Level :: Authentication

Package Information: LiveUser_Admin

Show All Changelogs
» Version » Information
0.3.9Download

Release date: 2006-08-22 17:35 UTC
Release state: beta

Changelog:

- pass debug parameter by ref to the constructor since it can be an object instance
- updated API calls of getBeforeId() and getAfterId() in the storage classes
- refactored decryptPW() and encryptPW() into static methods in the LiveUser class
- force null instead of false for PDO fetch() calls that return empty sets
- added static error push when a non array is passed to setSelectDefaultParams() (Request #7779)
- use empty() instead of array_key_exists() in setSelectDefaultParams()
- update of auth_user_id not possible via LiveUser_Admin::updateUser() (Bug #7975; thx to Matthias)
- fixed incorrect handling of single column joins (Bug #8424)
- better handling of '*' inside the field list together with explicit fields (Bug #7955)

Dependencies:
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: PEAR Installer 1.3.1 or newer
  • PEAR Package: LiveUser 0.16.12 or newer
  • PEAR Package: Log 1.7.0 or newer (optional)
  • PEAR Package: DB 1.6.0 or newer (optional)
  • PEAR Package: MDB 1.1.4 or newer (optional)
  • PEAR Package: MDB2 2.1.0 or newer (optional)
  • PEAR Package: XML_Tree (optional)
  • PEAR Package: Crypt_RC4 (optional)
0.3.8Download

Release date: 2006-04-19 08:46 UTC
Release state: beta

Changelog:

- wrong parameter used in getUsers('auth', ..) (report by gregory)
- fixed usage of outdated getUsers() API in init()
- phpdoc fix in outputRightsConstants() (bug #7037)
- removed bogus parameter from phpdoc in getRights() in medium/complex container
- added support for selectable_tables in the param array in get*() methods
- fixed updating of implied right field in umimplyRight() (bug #7050)
- made stack property public
- remove artificial limitation that prevented groups to have multiple parents
- fixed PDO storage layer queryAll() method (bug #7213)
- expanded error handling in Log instance creation
- fixed outdated API call to getRights() in _getInheritedRights() (bug #7236)
- made translations columns wider for example1
- replace isset() with array_key_exists() where applicable
- added link to area admin area test to the menu in example1
- reworked getRights() and getGroups() API for recursive reads
(related to bug #7241) *BC break*
Set the filter parameters for the recursion explicitly. For getGroups() in the
'subgroups', 'hierarchy' keys (note that hierarchy is now no longer specified
by setting 'subgroups' => 'hierarchy'). For getRights() 'inherited', 'implied'
and 'hierarchy' (note that hierarchy is now no longer specified by setting
'implied' => 'hierarchy';).
- expanded outputRightsConstants() filtering
- changed the getUsers(), addUser() and updateUser() API to be more in line
with the container APIs *BC break* (req #7025)
- added LiveUser_Admin_Storage::setSelectDefaultParams() to centralize default setting
- added selectable_tables property to auth backend
- fixed typos in 'with' handling in the perm container
- prevent duplictate entries in the fields not yet linked array

Dependencies:
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: PEAR Installer 1.3.1 or newer
  • PEAR Package: LiveUser 0.16.11 or newer
  • PEAR Package: Log 1.7.0 or newer (optional)
  • PEAR Package: DB 1.6.0 or newer (optional)
  • PEAR Package: MDB 1.1.4 or newer (optional)
  • PEAR Package: MDB2 2.0.0 or newer (optional)
  • PEAR Package: XML_Tree (optional)
  • PEAR Package: Crypt_RC4 (optional)
0.3.7Download

Release date: 2006-02-21 19:39 UTC
Release state: beta

Changelog:

- fix "No rights for a user if the user only has inherited rights" (bug #6374)
- do not overwrite all filters in _get*() helper methods
- minor issue with 'alias' position in the config array in example1
- make sure that tables required as intermediate join steps are listed in the from
- add depth parameter to createJoinFilter (may be used to determine shortest join path eventually)
- fixed detection if list of tables has been reduced or not
- do not push an error on the stack for a possible recursion because it may just
be one possible path we are evaluating
- added "by_group" optional parameter to params getRights() which determines if
the userrights table should be used or rather the grouprights and groupupsers tables
- incorrect handling of filters inside unimplyRights() (bug #6592)
- renamed "connection" config option to "dbc" *BC BREAK*
- cleaned up and unified init() in the storage classes
- added support for '*' in fields list as an alias to fetch all fields in the root table
- made LiveUser_Admin::getUsers() API as flexible as in the containers *BC BREAK*
- fixed serious issue in join filter handling that caused join filters to be ignored
- 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*
- typo fix in extended module loading in the MDB2 storage container
- fixed inherited and implied handling in getRights() when fetching only 2 columns
- added initial version of a PDO storage container (needs more testing)
- removed setCurrentApplication()/getCurrentApplication() methods since they are
no longer relevant *BC BREAK*

Dependencies:
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: PEAR Installer 1.3.1 or newer
  • PEAR Package: LiveUser 0.16.0 or newer
  • PEAR Package: Log 1.7.0 or newer (optional)
  • PEAR Package: DB 1.6.0 or newer (optional)
  • PEAR Package: MDB 1.1.4 or newer (optional)
  • PEAR Package: MDB2 2.0.0RC1 or newer (optional)
  • PEAR Package: XML_Tree (optional)
  • PEAR Package: Crypt_RC4 (optional)
0.3.6Download

Release date: 2005-12-21 11:27 UTC
Release state: beta

Changelog:

- dont raise an error when no user is found in getUsers() helper method (bug #5690)
- fixed bug in handling of _checkExplicitTable() return value in findTables() (bug #5706)
- tweaked error messages for failed factory method calls
- renamed query() to exec() to match the MDB2 RC1 API
- use exec() instead of query()
- handle database structure merging inside the Storage class
(previously handled in the auth/perm backend drivers)
- improved sanity checking in insert and update when values for undefined fields are passed
- do nothing in update() if an empty data array is passed
- required fields may not be unset, but may be empty strings
(corrected overly strict check in update() method)
- owner_*_id is no longer necessary for the tests
- leave owner_user_id management to the developer
- tweaked errors messages in insert() and update()
- in createJoinFilter first work through all the direct matches before recursing
- typo in loadModule call in the MDB2 backend (bug #6092)
- removed loginTimeout feature (disable lastlogin if you are concerned about
the cost of updating the lastlogin time)
- tons of phpdoc and whitespace fixes and additions
- updated API calls to LiveUser to version 0.16.8
- renamed setAdminContainers() to init()

Dependencies:
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: PEAR Installer 1.3.1 or newer
  • PEAR Package: LiveUser 0.16.0 or newer
  • PEAR Package: Log 1.7.0 or newer (optional)
  • PEAR Package: DB 1.6.0 or newer (optional)
  • PEAR Package: MDB 1.1.4 or newer (optional)
  • PEAR Package: MDB2 2.0.0RC1 or newer (optional)
  • PEAR Package: XML_Tree (optional)
  • PEAR Package: Crypt_RC4 (optional)
0.3.5Download

Release date: 2005-10-10 10:55 UTC
Release state: beta

Changelog:

- only alias orders fields if needed (bug #5310)
- fixed warning in _getGroupsWithHierarchy() if filters match no group
- several typo fixes in getGroups() in the complex container
- several fixes to getRights() in the complex container (bug #5453)
- added test.php to the linkbar in example1
- removed autoInit (call setAdminContainers() manually instead) *BC BREAK*
- reworked log/debug handling (there is a new 'debug' conf option which can
either be a bool or a log instance)
- made the log property public which made it possible to remove addErrorLog()
- use static LiveUser::PEARLogFactory instead of loadPEARLog()

Dependencies:
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: PEAR Installer 1.3.1 or newer
  • PEAR Package: LiveUser 0.16.0 or newer
  • PEAR Package: Log 1.7.0 or newer (optional)
  • PEAR Package: DB 1.6.0 or newer (optional)
  • PEAR Package: MDB 1.1.4 or newer (optional)
  • PEAR Package: MDB2 2.0.0beta4 or newer (optional)
  • PEAR Package: XML_Tree (optional)
  • PEAR Package: Crypt_RC4 (optional)
0.3.4Download

Release date: 2005-09-02 12:43 UTC
Release state: beta

Changelog:

- fixed typo error in sanity checking of the SQL storage layer update() method
- fixed bug in the SQL storage layer insert() method that would lead to the
sequence value not being returned if it was set externally. this for example
leads to broken behaviour in the addUser() wrapper method in LiveUser_Admin
- added error handler to example1 so that notices and warnings will not go
unnoticed so easily in the large output

Dependencies:
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: PEAR Installer 1.3.1 or newer
  • PEAR Package: LiveUser 0.16.0 or newer
  • PEAR Package: Log 1.7.0 or newer (optional)
  • PEAR Package: DB 1.6.0 or newer (optional)
  • PEAR Package: MDB 1.1.4 or newer (optional)
  • PEAR Package: MDB2 2.0.0beta4 or newer (optional)
  • PEAR Package: XML_Tree (optional)
  • PEAR Package: Crypt_RC4 (optional)
0.3.3Download

Release date: 2005-08-17 12:27 UTC
Release state: beta

Changelog:

- typo fix in phpdoc (bug #5054)
- removed space in the example1 directory name
- ensure that fields are properly aliased (bug #5059)
- added an aliased field to exampl1 so that we can better test liveuser_admin
- several CS fixes
- removed uncessary optional dependencies on XML_Tree and Crypt_RC4
- fixed issue in upate() handling in the storage of required fields
- supress errors due to deleting non existant tables in example1
- fixed bug in setFetchMode() calling in example1
- removed warning about extra_sql.sql in example1
- pass the storage config array by ref after all

Dependencies:
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: PEAR Installer 1.3.1 or newer
  • PEAR Package: LiveUser 0.16.0 or newer
  • PEAR Package: Log 1.7.0 or newer (optional)
  • PEAR Package: DB 1.6.0 or newer (optional)
  • PEAR Package: MDB 1.1.4 or newer (optional)
  • PEAR Package: MDB2 2.0.0beta4 or newer (optional)
  • PEAR Package: XML_Tree (optional)
  • PEAR Package: Crypt_RC4 (optional)
0.3.2Download

Release date: 2005-08-09 11:57 UTC
Release state: beta

Changelog:

- copy storage config before passing it to the storageFactory() since this
method messes with the values which causes the original to be modified due to
using pass by reference
- removed old 'with' handling code that is no longer necessary from getGroups()
in the medium container

Dependencies:
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: PEAR Installer 1.3.1 or newer
  • PEAR Package: LiveUser 0.16.0 or newer
  • PEAR Package: Log 1.7.0 or newer (optional)
  • PEAR Package: DB 1.6.0 or newer (optional)
  • PEAR Package: MDB 1.1.4 or newer (optional)
  • PEAR Package: MDB2 2.0.0beta4 or newer (optional)
  • PEAR Package: XML_Tree (optional)
  • PEAR Package: Crypt_RC4 (optional)
0.3.1Download

Release date: 2005-07-20 08:36 UTC
Release state: beta

Changelog:

- php 4.4 reference assignment fixes
- dont filter out subgroups from the previous level in
_getGroupsWithHierarchy() (bug #4860)

Dependencies:
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: PEAR Installer 1.3.1 or newer
  • PEAR Package: LiveUser 0.16.0 or newer
  • PEAR Package: Log 1.7.0 or newer (optional)
  • PEAR Package: DB 1.6.0 or newer (optional)
  • PEAR Package: MDB 1.1.4 or newer (optional)
  • PEAR Package: MDB2 2.0.0beta4 or newer (optional)
  • PEAR Package: XML_Tree (optional)
  • PEAR Package: Crypt_RC4 (optional)
0.3.0Download

Release date: 2005-06-21 09:40 UTC
Release state: beta

Changelog:

- added _call() overloading method for php5 users in LiveUser_Admin class
- dont require a conf array for all but the first call of singleton()
- updated LiveUser dependency

storage
- delete() now uses findTable() to ensure that only defined table with the
proper fields are being used
- findTable() now only prefixes fields if necessary
- added ability to prefix explicit tables in findTables()
- no longer use "ids" in insert so we can remove this information from the
Globals.php file in the client
- added support for table name aliasing
- tweaked NULL value handling in createWhere() (bug #4638)

authentication
- typo fix (bug #4109)
- typo fix (bug #4173)
- moved to admin storage class
- tweaked disconnect to only disconnect when a new connection was made

permission
- typo fix: hierachy -> hierarchy (bug #4150)
- improved the "with" support (fixing bug #3245)
- tweaked disconnect to only disconnect when a new connection was made
- fixed bug that would lead to hierarchy mode in getGroups only fetching the
first subgroup level (bug #4633)

examples
- examples were converted to use MDB2_Schema. See the demodata.php script found
in the client part (http://cvs.php.net/co.php/pear/LiveUser/docs/examples/demodata.php)
- removed the test.php script since this code is outdated and serves no purpose any longer
- updated examples to use the new auth config layout due to using admin storage
- tweaked error handling on init() call

Dependencies:
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: PEAR Installer 1.3.1 or newer
  • PEAR Package: LiveUser 0.16.0 or newer
  • PEAR Package: Log 1.7.0 or newer (optional)
  • PEAR Package: DB 1.6.0 or newer (optional)
  • PEAR Package: MDB 1.1.4 or newer (optional)
  • PEAR Package: MDB2 2.0.0beta4 or newer (optional)
  • PEAR Package: XML_Tree (optional)
  • PEAR Package: Crypt_RC4 (optional)
0.2.1Download

Release date: 2005-03-30 19:02 UTC
Release state: beta

Changelog:

- typo fix in autoinit option (bug #3844)
- updated LiveUser dependency to 0.15.0
- fixed type handling in updateUser()
- update getErrors() with code from the LiveUser class
- typo fix in outputRightsConstants() (bug #3897)
- removed calls to make remove filter on delete of relationship tables (bug #3874)

Dependencies:
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: PEAR Installer 1.3.1 or newer
  • PEAR Package: LiveUser 0.15.0 or newer
  • PEAR Package: Log 1.7.0 or newer (optional)
  • PEAR Package: DB 1.6.0 or newer (optional)
  • PEAR Package: MDB 1.1.4 or newer (optional)
  • PEAR Package: MDB2 2.0.0beta3 or newer (optional)
  • PEAR Package: XML_Tree (optional)
  • PEAR Package: Crypt_RC4 (optional)
0.2.0Download

Release date: 2005-03-15 12:35 UTC
Release state: beta

Changelog:

- perm container now also has a default init() method that is called in the factory
- delete/update now dont require a filter in the id field
- delete/update now return the number of affected rows
- use LiveUser::cryptRC4() for rc4 handling
- added support to be able to query for single values, columns and rows next to
fetching multi dimensional arrays ('select' key in params array of get methods)
- improved error handling in several places to not trigger on empty results
- sequences are now named after the table they belong to
- now requiring MDB2-2.0.0beta3
- if the "force-seq" option is now set to false in the storage config
MDB2 will try to use autoincrement if supported by the RDBMS (you will need
to add autoincrement to the id fields in the applications, areas, groups,
rights, and perm_users tables yourself)
- example 1 now outputs all queries using an MDB2 debug handler
- Subgroups now work
- ImplyRights now work
- One can now remove groups recursively by passing recursive = true to
removeGroup in Perm Complex container (before it was hardcoded to true,
now defaults to false)
- Tests for SubGroups and ImplyRights up and running
- getGroup and getRight now work in Perm Complex Container
- added DB and MDB permission backends
- Complex container is now fully implemented.
- addAreaAdmin and removeAreaAdmin where added to the Complex container
- Admin.php getUser was removed and searchUser was renamed to getUsers and with
new params (BC break!)
- give each example a unique database name
- moved selectable tables into property so that they can be overwritten
- fixed autoinit handling in factoray (bug #3133)
- added missing PEAR error to error stack conversions
- return false if we previously ensured that the value is false anyways for clarity
- call setAdminAuthContainer() in updateUser() and removeUser() to ensure that
the proper auth container is affected
- updated the file headers as per the RFC
- getGroups() in the complex container was refactored and subgroup handling
was reworked (BC break!)

Dependencies:
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: PEAR Installer 1.3.1 or newer
  • PEAR Package: LiveUser 0.14.0 or newer
  • PEAR Package: Log 1.7.0 or newer (optional)
  • PEAR Package: DB 1.6.0 or newer (optional)
  • PEAR Package: MDB 1.1.4 or newer (optional)
  • PEAR Package: MDB2 2.0.0beta3 or newer (optional)
  • PEAR Package: XML_Tree (optional)
  • PEAR Package: Crypt_RC4 (optional)
0.1.0Download

Release date: 2004-12-20 16:29 UTC
Release state: beta

Changelog:

- refactored into a separate package from LiveUser
- severe BC breaks in the permission API in order to unify the API
- added ErrorStack
- fixed outputRightsConstants() method
- refactored storage layer to use an SQL query builder (DB and MDB support is
currently missing but will be added in the next minor update)
- sql query builder should output more portable SQL code
- sql query builder enables full aliasing of all field names
- sql query builder only joins the necessary tables so the admin API does not
force the usage of any table (especially the translation table)
- searchUser() now also fetches perm data
- the complex container is currently not fully implemented

Dependencies:
  • PHP Version: PHP 4.2.0 or newer
  • PEAR Package: PEAR 1.3.1 or newer
  • PEAR Package: LiveUser 0.14.0 or newer
  • PEAR Package: Log 1.7.0 or newer (optional)
  • PEAR Package: DB 1.6.0 or newer (optional)
  • PEAR Package: MDB 1.1.4 or newer (optional)
  • PEAR Package: MDB2 2.0.0beta2 or newer (optional)
  • PEAR Package: XML_Tree (optional)
  • PEAR Package: Crypt_RC4 (optional)