[Piwik-svn] r531 - trunk/plugins/UsersManager
svnmaster at piwik.org
svnmaster at piwik.org
Thu Jun 26 02:57:21 CEST 2008
Author: matt
Date: 2008-06-26 02:57:20 +0200 (Thu, 26 Jun 2008)
New Revision: 531
Modified:
trunk/plugins/UsersManager/API.php
Log:
- UsersManager.setUserAccess now requires an idSites.
If you want to apply the access to all websites, use idSites="all"
(updating api doc)
Modified: trunk/plugins/UsersManager/API.php
===================================================================
--- trunk/plugins/UsersManager/API.php 2008-06-26 00:56:14 UTC (rev 530)
+++ trunk/plugins/UsersManager/API.php 2008-06-26 00:57:20 UTC (rev 531)
@@ -409,7 +409,8 @@
*
* @param string Access to grant. Must have one of the following value : noaccess, view, admin
* @param string The user login
- * @param int|array The array of idSites on which to apply the access level for the user. If the parameter is null then we apply the access level to all the websites ID for which the current authentificated user has an 'admin' access.
+ * @param int|array The array of idSites on which to apply the access level for the user.
+ * If the value is "all" then we apply the access level to all the websites ID for which the current authentificated user has an 'admin' access.
*
* @exception if the user doesn't exist
* @exception if the access parameter doesn't have a correct value
More information about the Piwik-svn
mailing list