[Tickets #2523] NEW: No way to define a sesha admin
bugs@bugs.horde.org
bugs at bugs.horde.org
Fri Aug 26 11:09:40 PDT 2005
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=2523
-----------------------------------------------------------------------
Ticket | 2523
Created By | rbreiddal at presinet.com
Summary | No way to define a sesha admin
Queue | Sesha
State | Unconfirmed
Priority | 1. Low
Type | Bug
Owners |
-----------------------------------------------------------------------
rbreiddal at presinet.com (2005-08-26 11:09) wrote:
There doesn't seem to be any way for a non-Horde-super-user to gain
administrative priveledge to Sesha.
This might be what it needs:
Index: api.php
===================================================================
RCS file: /repository/sesha/lib/api.php,v
retrieving revision 1.11
diff -u -b -r1.11 api.php
--- api.php 26 Aug 2005 12:50:22 -0000 1.11
+++ api.php 26 Aug 2005 18:08:38 -0000
@@ -13,6 +13,10 @@
* @package Sesha
*/
+$_services['perms'] = array(
+ 'args' => array(),
+ 'type' => 'stringArray');
+
$_services['listClients'] = array(
'args' => array(),
'type' => '{urn:horde}hash');
@@ -38,6 +42,15 @@
);
+function _sesha_perms()
+{
+ $perms = array();
+ $perms['tree']['sesha']['admin'] = array();
+ $perms['title']['sesha:admin'] = _("Administration");
+
+ return $perms;
+}
+
function _sesha_listClients()
{
require_once dirname(__FILE__) . '/base.php';
More information about the bugs
mailing list