phpgroupware-users
[Top][All Lists]
Advanced

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

Re: [phpGroupWare-users] [Solved ?] Trouble on sitemanager with an user.


From: Marco Gaiarin
Subject: Re: [phpGroupWare-users] [Solved ?] Trouble on sitemanager with an user...
Date: Tue, 3 Apr 2007 15:34:02 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

Mandi! Benoit Hamet
  In chel di` si favelave...

> That's a guess but, reading the code, your user seems to not have the
> right to write to the _Category_ in which the block is. So he's not able
> to modify it. There's perhaps a bug there, in the case you already give
> him the right to write in that category, or in the case you give him
> some right that should be letting him writing in that category, but for
> which we are not doing a check when saving data.

Good starting point.
I manage only group ACL on category, and i've just set the group(s)
that user belong to in write mode.

But now i've tried to enable the user, and i'm able to setup only read
ACL: everytime i set write ACL for that user and save, acl desapper,
are not saved.


Some info:

address@hidden:~$ id gabri
uid=1002(gabri) gid=1046(dirsci) 
gruppi=1046(dirsci),100(users),1038(corsi),1042(move),1043(uffcoco),1102(webmaster),550(printop),102(lpadmin)

address@hidden:~$ ldapsearch -x -h localhost -b 'dc=sv,dc=lnf,dc=it' 
"(uid=gabri)" | grep phpgwAccountID
phpgwAccountID: 1002

address@hidden:~$ echo "select * from phpgw_acl where acl_location='1002';" | 
psql phpgroupwaresv
 acl_appname | acl_location | acl_account | acl_rights 
-------------+--------------+-------------+------------
(0 righe)

address@hidden:~$ echo "select * from phpgw_acl where acl_account='1002';" | 
psql phpgroupwaresv
 acl_appname |  acl_location  | acl_account | acl_rights 
-------------+----------------+-------------+------------
 phpgw_group | 100            |        1002 |          1
 phpgw_group | 1038           |        1002 |          1
 phpgw_group | 1042           |        1002 |          1
 phpgw_group | 1043           |        1002 |          1
 phpgw_group | 1046           |        1002 |          1
 phpgw_group | 1102           |        1002 |          1
 preferences | changepassword |        1002 |          1
 sitemgr     | L26            |        1002 |          1
 sitemgr     | L29            |        1002 |          1
(9 righe)


So there's no UID/GID clash. Probably there's some spurious data onto
phpgw_acl table, but... how can i fix that?

-- 
dott. Marco Gaiarin                                 GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''                http://www.sv.lnf.it/
  Polo FVG  -  Via della Bontà, 7 - 33078  -  San Vito al Tagliamento (PN)
  marco.gaiarin(at)sv.lnf.it      tel +39-0434-842711  fax +39-0434-842797




reply via email to

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