[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Phpgroupware-developers] PHPGW_ACL_ADD and ToDo Categories
From: |
Eric Parusel |
Subject: |
Re: [Phpgroupware-developers] PHPGW_ACL_ADD and ToDo Categories |
Date: |
Wed, 30 Jan 2002 12:44:09 -0800 |
Sure, where? HEAD? the 0.9.14 tree? Both?
And what exactly did you add in again, support for PHPGW_ACL_ADD in ToDo?
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
>