6.0.0-beta1
9/6/25

[#3144] Clicking "permissions" can make the datasource unavailable
Summary Clicking "permissions" can make the datasource unavailable
Queue Gollem
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners
Requester roel (at) gloudemans (dot) info
Created 12/15/2005 (7205 days ago)
Due
Updated 02/16/2006 (7142 days ago)
Assigned 02/12/2006 (7146 days ago)
Resolved 02/16/2006 (7142 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
02/16/2006 01:30:47 PM Jan Schneider Comment #11
State ⇒ Resolved
Reply to this comment
Looks good to me.
02/12/2006 09:02:45 PM Michael Slusarz Comment #10 Reply to this comment
FWIW, I have no dog in this fight since the gollem code was not mine 
in the first place (it was a code submission) and I have little 
familiarity with our permissions system.
02/12/2006 05:06:58 PM Chuck Hagenbuch Taken from Horde DevelopersHorde Developers
 
02/12/2006 05:06:48 PM Chuck Hagenbuch Comment #9
State ⇒ Feedback
Priority ⇒ 1. Low
Reply to this comment
I'm moving this back down to low priority since I can't reproduce the 
fatal error. Personally, I think that admins need to be aware of what 
they're doing. To help that, I've added a warning-level notice when 
permissions are created. I'd like to resolve this now; any objections?
02/08/2006 12:01:14 AM Jan Schneider Comment #8
Version ⇒ HEAD
Queue ⇒ Gollem
Reply to this comment
Moving back to Gollem, because the permission is created in 
gollem/permissions.php. The only solution I could think of is adding a 
confirmation page in permissions.php that requests a confirmation if a 
permission should be created before redirecting to admin/perms/edit.php.
02/01/2006 05:43:30 PM Jan Schneider State ⇒ Assigned
 
01/23/2006 08:21:26 PM Chuck Hagenbuch Comment #7
Priority ⇒ 3. High
Reply to this comment
Bumping this up since it's a fatal error.
01/15/2006 08:21:37 PM roel (at) gloudemans (dot) info Comment #6 Reply to this comment
At the moment it is completely broken from Gollem. Clicking 
permissions results in:



Fatal error: Call to undefined function: getname() in 
/usr/share/php/Horde/Perms/datatree.php on line 271
01/12/2006 12:40:04 AM Jan Schneider Comment #5 Reply to this comment
Is this still happening?
12/20/2005 06:04:28 AM Michael Slusarz Assigned to Horde DevelopersHorde Developers
Taken from Michael Slusarz
 
12/20/2005 06:04:11 AM Michael Slusarz Comment #4
Version ⇒ HEAD
Queue ⇒ Horde Framework Packages
Reply to this comment
If this is happening with all applications, this is not just a Gollem issue.
12/16/2005 11:47:11 AM Jan Schneider Comment #3
State ⇒ Feedback
Reply to this comment
It never happened before. Just in HEAD of ~1 month old.
Does that mean it happens since one month or that you didn't update 
since one month?
12/16/2005 11:01:34 AM vilius (at) lnk (dot) lt Comment #2 Reply to this comment
Just thought it might be related.



I noticed this in other applications too. If you go to admin interface 
and _view_ permissions, you will not be able to send new email 
anymore, or create new folders. You need to fill in these permissions 
with something other then null, and wuola - it works again.



It never happened before. Just in HEAD of ~1 month old.
12/15/2005 10:20:52 AM Jan Schneider Assigned to Michael Slusarz
State ⇒ Assigned
 
12/15/2005 08:30:10 AM roel (at) gloudemans (dot) info Comment #1
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Queue ⇒ Gollem
Summary ⇒ Clicking "permissions" can make the datasource unavailable
Type ⇒ Bug
Reply to this comment
Boundary conditions:

1) You are administrator

2) You have no permissions set on the data source (permissions are set 
on Gollem, but there are no child permissions for the data source)



If you now click the permissions button from the top-menu, a child 
node in the permission tree for the data source you were working in is 
created. The default rights is to disallow everything. If you do not 
set the rights to allow your users cannot access the datasource.



Yesterday, one of my fellow administrators was trying to set 
permissions on a file. Because the permissions button in the top bar 
attracts the attention much more than the "chmod" entry from the 
actions menu the clicked the permissions button. The he saw that he 
was not where he wanted to be and het clicked the "back" browser 
button. The effect of this was that all users were thrown out of the 
data source.



There are a few solutions possible:

1) Don't show the permissions button

2) Rename it

3) Create a separate gollem administration page

4) Make sure that the child permission node is not automatically 
created when the permissions button is clicked


Saved Queries