[turba] Shared addressbook problem

Chris Shaffer cat-turba at gesserit.net
Wed Dec 17 19:51:33 PST 2003


Well, that's interesting.  Manually setting `owner_id` = "" in phpmyadmin allows
all users to edit/delete the record.  Dropping owner_id from turba_objects
caused errors.  Every record added to turba_objects has the owner_id set
according to the user that added the record.  So, a workaround for my problem is
a daily cron job that sets owner_id to an empty string each night.

I'm still not sure what's causing the problem, but this will work for now.

Chris


Quoting Jan Schneider <jan at horde.org>:

> Zitat von Chris Shaffer <cat-turba at gesserit.net>:
> 
> > Does the absence of a reply imply that I've asked the wrong question?
> 
> No. It should work exactly the way you described in your first post.
> Probably none had an idea why it *shouldn't* work this way.
> 
> > Here is
> > another try:
> >
> > Using Turba 1.2.1, is it possible to implement a fully shared address
> > book,
> > where all users can create/edit/delete all records?  If so, how?
> >
> > Chris
> >
> >
> > Quoting Chris Shaffer <cat-turba at gesserit.net>:
> >
> > > I'm running Debian stable, php4, mysql, Horde 2.2.4, Turba 1.2.1 and
> > IMP
> > > 3.2.2.
> > > Everything seems to work OK with one problem.  I've set up a shared
> > > addressbook.
> > >  Everyone can view records, create new records, and edit/delete records
> > > they
> > > created.  Nobody can edit/delete records that other users created.
> > I've
> > > tried
> > > every version of the access security in sources.php that I can think
> > up.
> > > Even
> > > this setting, which according to the documentation should mean all
> > users
> > > can
> > > edit all records, doesn't do the trick:
> > >
> > >     'public' => true,
> > >     'readonly' => false,
> > >     'admin' => array(),
> > >
> > > Does anyone have suggestions?
> 
> Jan.
> 
> --
> http://www.horde.org - The Horde Project
> http://www.ammma.de - discover your knowledge
> http://www.tip4all.de - Deine private Tippgemeinschaft
> 
> -- 
> Turba mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: turba-unsubscribe at lists.horde.org
> 


-- 
Chris Shaffer 


More information about the turba mailing list