Summary | No way to define a sesha admin |
Queue | Sesha |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | |
Requester | rbreiddal (at) presinet (dot) com |
Created | 08/26/2005 (7226 days ago) |
Due | |
Updated | 10/25/2005 (7166 days ago) |
Assigned | |
Resolved | 10/25/2005 (7166 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
State ⇒
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ No way to define a sesha admin
Queue ⇒ Sesha
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';