phpgroupware-developers
[Top][All Lists]
Advanced

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

Re: [Phpgroupware-developers] phpgw_info - Groups


From: Mauricio
Subject: Re: [Phpgroupware-developers] phpgw_info - Groups
Date: Tue, 08 Nov 2005 17:20:59 -0200
User-agent: Debian Thunderbird 1.0.2 (X11/20050602)

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...

What am I missing?

Regards,
Mauricio.


Cheers

Dave




reply via email to

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