6.0.0-alpha14
7/2/25

[#11705] Don't show permission link if disabled
Summary Don't show permission link if disabled
Queue Gollem
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester thomas.jarosch (at) intra2net (dot) com
Created 11/14/2012 (4613 days ago)
Due
Updated 11/26/2012 (4601 days ago)
Assigned 11/15/2012 (4612 days ago)
Resolved 11/26/2012 (4601 days ago)
Github Issue Link
Github Pull Request
Milestone 3.0.0
Patch No

History
11/26/2012 10:16:52 AM Jan Schneider State ⇒ Resolved
 
11/26/2012 10:16:35 AM Git Commit Comment #5 Reply to this comment
Changes have been made in Git (master):

commit a77067a791fcffa8ff9f8f5ed7cb46c100409b08
Author: Jan Schneider <jan@horde.org>
Date:   Mon Nov 26 11:16:23 2012 +0100

     [jan] Don't show permissions link if permissions are disabled 
(Bug #11705).

  gollem/docs/CHANGES        |    1 +
  gollem/lib/Application.php |    3 ++-
  gollem/package.xml         |    2 ++
  3 files changed, 5 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/a77067a791fcffa8ff9f8f5ed7cb46c100409b08
11/15/2012 09:15:34 AM Jan Schneider Comment #4
Assigned to Jan Schneider
Summary ⇒ Don't show permission link if disabled
State ⇒ Assigned
Milestone ⇒ 3.0.0
Reply to this comment
"Unable to create backend permission: Trying to create sub 
permission of non-existant parent permission. Create parent 
permission(s) first."
That's bug 11689
11/15/2012 08:22:09 AM Thomas Jarosch Comment #3 Reply to this comment
And do you actually have a permission backend configured?
It was disabled. So we need a proper error message if permissions are 
disabled.

Now I've enabled it and horde's configuration page tells me everything 
is up to date.
Still I get:

"Unable to create backend permission: Trying to create sub permission 
of non-existant parent permission. Create parent permission(s) first."
11/14/2012 06:23:50 PM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
And do you actually have a permission backend configured?
11/14/2012 05:35:04 PM Thomas Jarosch Comment #1
Milestone ⇒
State ⇒ Unconfirmed
Patch ⇒ No
Queue ⇒ Gollem
Summary ⇒ Clicking on "Permissions" results in crash
Type ⇒ Bug
Priority ⇒ 1. Low
Reply to this comment
Hi,

clicking on "Permissions" results in crash:

A fatal error has occurred

1. Horde_Perms_Null->newPermission() 
/datastore/DEVEL/horde/gollem/permissions.php:36

Horde_Perms_Exception Object
(
     [details] =>
     [logged] => 1
     [_logLevel:protected] => 0
     [message:protected] =>
     [string:Exception:private] =>
     [code:protected] => 0
     [file:protected] => 
/datastore/DEVEL/horde/framework/Perms/lib/Horde/Perms/Null.php
     [line:protected] => 28
     [trace:Exception:private] => Array
         (
             [0] => Array
                 (
                     [file] => /datastore/DEVEL/horde/gollem/permissions.php
                     [line] => 36
                     [function] => newPermission
                     [class] => Horde_Perms_Null
                     [type] => ->
                     [args] => Array
                         (
                             [0] => gollem:backends:sql
                         )

                 )

         )

     [previous:Exception:private] =>
)


Tested with the SQL backend.

Thomas

Saved Queries