6.0.0-alpha14
7/3/25

[#9195] memcache & permissions system
Summary memcache & permissions system
Queue Horde Base
Queue Version 3.3.8
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester sergio.raspaolo (at) eng (dot) it
Created 08/24/2010 (5427 days ago)
Due
Updated 08/27/2010 (5424 days ago)
Assigned 08/24/2010 (5427 days ago)
Resolved 08/27/2010 (5424 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
08/27/2010 12:19:42 PM Jan Schneider State ⇒ Not A Bug
 
08/27/2010 10:01:04 AM sergio (dot) raspaolo (at) eng (dot) it Comment #6 Reply to this comment
Hi Jan,

perhaps is resolved.

Seems to be related to the memcached php library version. I've tried 
with a 2.2.5 (stable) version instead of 3.0.1 (beta, from debian 
lenny distro (!!)) and now seems to work correctly.

Thanks

Sergio


08/24/2010 02:38:03 PM sergio (dot) raspaolo (at) eng (dot) it Comment #5 Reply to this comment
Does it work if you empty the cache instead of disabling it?
No.

I've also tried using a file based session handler instead of the same 
memcache server. Nothing.



08/24/2010 02:06:55 PM Jan Schneider Comment #4 Reply to this comment
Does it work if you empty the cache instead of disabling it?
08/24/2010 12:55:54 PM sergio (dot) raspaolo (at) eng (dot) it Comment #3
New Attachment: conf.php Download
Reply to this comment
Hi Jan,

sorry for my English......
What do you mean with "disable"?
I mean that putting a deny (without permit flags) entry, don't block the
resource, either using datatree or horde_perms.

If I disable the cache system or I use another driver, horde correctly 
disables
the access to the resource.

My installation is a Horde Groupware Webmail Edition 1.2.6 with a 
totally clean db.

This is the permission record in datatree (turba disabled):
2        horde.perms        raspaolo        turba                   
        a:2:{s:4:"type";s:6:"matrix";s:7:"default";i:0;}        15

It denies the access to turba application only disabling memcache 
caching system:
diff conf.php conf.bak.php
75c75
< $conf['cache']['driver'] = 'none';
---
  > $conf['cache']['driver'] = 'memcache';

In attachment the working configuration with memcache disabled.

Thx !!!

Bye

Sergio



08/24/2010 10:58:37 AM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
What do you mean with "disable"?
08/24/2010 09:49:49 AM sergio (dot) raspaolo (at) eng (dot) it Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ memcache & permissions system
Queue ⇒ Horde Base
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
Using memcache as cache driver ( $conf[cache][driver]) disables 
permissions system at all.

This happend with sql-based cache and use_memorycache=memcache too.



Saved Queries