6.0.0-alpha12
6/8/25

[#2523] No way to define a sesha admin
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

History
10/25/2005 12:33:40 PM Jan Schneider Comment #3
State ⇒ Resolved
Reply to this comment
Committed, thanks.
08/26/2005 09:38:51 PM   New Attachment: sesha-administration.patch Download
 
08/26/2005 08:43:30 PM Jan Schneider Comment #2
State ⇒
Reply to this comment
Please upload the patch as an attachment.
08/26/2005 06:09:40 PM rbreiddal (at) presinet (dot) com Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ No way to define a sesha admin
Queue ⇒ Sesha
Reply to this comment
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';


Saved Queries