[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Phpgroupware-developers] phpgw_info - Groups
From: |
Dave Hall |
Subject: |
Re: [Phpgroupware-developers] phpgw_info - Groups |
Date: |
Wed, 09 Nov 2005 08:46:32 +1100 |
On Tue, 2005-11-08 at 17:20 -0200, Mauricio wrote:
> I still can't find that...
>
> Dave Hall wrote:
> > On Mon, 2005-10-31 at 01:08 -0200, Mauricio wrote:
> >
> >>Hi,
> >>
> >>I can't find a way to get the groups of a user. This index doesn't exist:
> >>
> >>$GLOBALS['phpgw_info']['user']['groups'] = Groups the user is a member of
> >>
> >>I was looking for it at DB too, without success...
> >
> >
> > Check phpgwapi/inc/class.accounts*.php
> >
> > The methods are available though $GLOBALS['phpgw']->accounts
>
> I didn't find any method that provide the group information.
>
> > In the db look at phpgw_acl app = phpgwapi, location = phpgw_group iirc
>
> My phpgw_acl table doesn't have any row like that.
> Nop app = phpgwapi or location = phpgw_group
> The nearest to that are:
>
> acl_appname | acl_location | acl_account | acl_rights
> phpgw_group 1 4 1
> phpgw_group 7 8 1
> phpgw_group 1 3 1
> phpgw_group 7 3 1
> phpgw_group 2 6 1
> phpgw_group 1 6 1
>
> But I didn't understand that yet...
Thats it.
it means group (acl_location) has account (acl_account) as a member.
Cheers
Dave
--
Dave Hall (aka skwashd)
API Coordinator
phpGroupWare
e address@hidden
w phpgroupware.org