phpgroupware-developers
[Top][All Lists]
Advanced

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

Re: [phpGroupWare-developers] [code cleaning] Empty default dataset in t


From: Sigurd Nes
Subject: Re: [phpGroupWare-developers] [code cleaning] Empty default dataset in trunk
Date: Sun, 26 Oct 2008 18:39:07 +0100
User-agent: Thunderbird 2.0.0.17 (X11/20080925)

Maât wrote:
> Hi,
> 
> It seems that the fact that freshly installed trunk showning only home,
> about and logout is normal as the tables phpgw_locations is not filled
> and phpgw_acl only filled with 3 lines with acl_rights = 1 and
> location_id = 0
> 
> If my investigations were correct it seems that these default values are
> inserted at install time by phpgwapi/setup/test_data.inc.php
> 
> In can put inserts there but the question is : what are the datas
> required to start ( iow login as an administrator and see at least admin
> and preferences)
> 
I think location_id=0 is an error (no such location).
It should look something like this:

phpgw_acl:
acl_account;acl_rights;acl_grantor;acl_type;location_id
1000;1;-1;0;3
1001;1;-1;0;2
1002;1;-1;0;2
1002;1;-1;0;3

phpgw_locations:
location_id;app_id;name
1;1;"run"
2;2;"run"
3;3;"run"

phpgw_applications:
app_id;app_name
1;"phpgwapi"
2;"admin"
3;"preferences"

phpgw_accounts:
account_id;account_lid;account_type
1000;"default";g
1001;"admin";g
1002;"sysadmin";u

Regards

Sigurd




reply via email to

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