phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-developers] PHPGW_ACL_ADD and ToDo Categories


From: aeb
Subject: Re: [Phpgroupware-developers] PHPGW_ACL_ADD and ToDo Categories
Date: Wed, 30 Jan 2002 21:51:14 +0100 (CET)

On Wed, 30 Jan 2002, Eric Parusel wrote:

> Sure, where?  HEAD?   the 0.9.14 tree?  Both?
>
it got only lost in 0.9.14, so i added it there.

> And what exactly did you add in again, support for PHPGW_ACL_ADD in ToDo?
>

acl_preferences -> acl_add

> Thanks :)
>
>
> > i added it in again.
> >
> > On Wed, 30 Jan 2002, Eric Parusel wrote:
> >
> > > Hi there,
> > >
> > >     I'm having a small problem with the ToDo application..
> > >
> > > Whenever I'm in a category that someone else has created (so I'm not the
> > > owner of the category), the "Add" button doesn't display...
> > >
> > > If you look below at the code I yanked out of
> todo/inc/class.ui.inc.php,
> > > you'll see that I need PHPGW_ACL_ADD permissions to be able to see the
> "Add"
> > > button.
> > >
> > > If I go to Preferences -> ToDo -> Grant Access, I don't have the ability
> to
> > > set _ADD permissions, only _READ, _EDIT and _DELETE.  My first
> assumption is
> > > that there *should* be an "Add" column in that table as well, with
> > > checkboxes.
> > >
> > > Am I going along the right lines??  If so, I might just look into adding
> the
> > > ADD column if possible...
> > >
> > > Thanks,
> > >
> > > Eric Parusel
> > >
> > >
> > >
> > > Code snippet below:
> > >
> > > //=====================
> > > if
> ($this->bo->check_perms($this->grants[$cat[0]['owner']],PHPGW_ACL_ADD) ||
> > > $cat[0]['owner'] == $this->account)
> > >                                 {
> > >                                         $this->t->set_var('add','<form
> > > method="POST" action="' .
> > > $GLOBALS['phpgw']->link('/index.php','menuaction=todo.ui.add&ca
> > > t_id=' . $this->cat_id)
> > >
> > > . '"><input type="submit" name="Add" value="' . lang('Add') .'"></form>'
> > > );
> > >                                 }
> > >                                 else
> > >                                 {
> > >                                         $this->t->set_var('add','');
> > >                                 }
> > > //======================
> > >
> > >
> > >
> > > _______________________________________________
> > > Phpgroupware-developers mailing list
> > > address@hidden
> > > http://mail.gnu.org/mailman/listinfo/phpgroupware-developers
> > >
> >
> >
> > _______________________________________________
> > Phpgroupware-developers mailing list
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/phpgroupware-developers
> >
>
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]