View Issue Details

IDProjectCategoryView StatusLast Update
0000998SOGoWeb Address Bookpublic2010-11-19 17:22
Reporteralessio Assigned To 
PrioritynormalSeverityminorReproducibilityrandom
Status newResolutionopen 
Product Version1.3.3 
Summary0000998: Some address book are shared, some address book not.
Description

I can't reproduce this but i have log of "work" and a case of "don't work"
If admin share and address book with group "tec", "alessio" is a member of "tec".
Alessio can't see Admin personal address book to subscribe, but Alessio can see "Test", an address book with the same acl.
Can you reproduce this, and explain me why?

Additional Information

FIRST CASE
Admin user select tec group for share "personal" address book

2010-11-18 18:41:20.450 sogod[2648] setting ACLs: {
"<default>" : [],
"tec" : [],
"alessio" : []} ({"<default>" = (); alessio = (); tec = (); }) forPath: admin/Contacts/personal
2010-11-18 18:41:20.456 sogod[2648] setting ACLs: {
"<default>" : [],
"tec" : [],
"alessio" : []} ({"<default>" = (); alessio = (); tec = (); }) forPath: admin/Contacts/personal
localhost - - [18/Nov/2010:18:41:20 GMT] "POST /SOGo/so/admin/Contacts/personal/addUserInAcls?uid=tec HTTP/1.1" 204 0/0 0.035 - - 0

Admin set ACL on "personal" for tec group

2010-11-18 18:41:36.307 sogod[2648] setting ACLs: {
"tec" : [],
"<default>" : [],
"alessio" : []} ({"<default>" = (); alessio = (); tec = (); }) forPath: admin/Contacts/personal
2010-11-18 18:41:36.314 sogod[2648] setting ACLs: {
"@tec" : ["ObjectCreator", "ObjectEditor", "ObjectViewer", "ObjectEraser"],
"tec" : [],
"<default>" : [],
"alessio" : []} ({"<default>" = (); "@tec" = (ObjectCreator, ObjectEditor, ObjectViewer, ObjectEraser); alessio = (); tec = (); }) forPath: admin/Contacts/personal
localhost - - [18/Nov/2010:18:41:36 GMT] "POST /SOGo/so/admin/Contacts/personal/saveUserRights HTTP/1.1" 200 293/89 0.038 - - 0

Alessio search admin's address book, "personal" isn't into the list

0-11-18 18:42:00.259 sogod[2648] WARNING(-[NSNull(misc) count]): called NSNull -count (returns 0) !!!
localhost - - [18/Nov/2010:18:42:00 GMT] "GET /SOGo/so/alessio/Contacts/userFolders HTTP/1.1" 200 3827/0 0.019 10597 63% 0
localhost - - [18/Nov/2010:18:42:01 GMT] "POST /SOGo/so/alessio/usersSearch?search=admin HTTP/1.1" 200 55/0 0.016 - - 0
localhost - - [18/Nov/2010:18:42:01 GMT] "POST /SOGo/so/admin/foldersSearch?type=contact HTTP/1.1" 200 182/0 0.024 - - 0

personal's ACL, tec should be see personal

mysql> select * from sogoadmin0054c488944_acl;
+-------+--------------------------+---------------+
| c_uid | c_object | c_role |
+-------+--------------------------+---------------+
| @tec | /admin/Contacts/personal | ObjectEraser |
| @tec | /admin/Contacts/personal | ObjectViewer |
| @tec | /admin/Contacts/personal | ObjectEditor |
| @tec | /admin/Contacts/personal | ObjectCreator |
+-------+--------------------------+---------------+
4 rows in set (0.00 sec)

SECOND CASE
Aonther address book: "test"

admin add group "tec" for "test" address book

2010-11-18 18:42:26.215 sogod[2648] setting ACLs: {
"tec" : []} ({tec = (); }) forPath: admin/Contacts/A58-4CE56580-7-3E75C480
2010-11-18 18:42:26.223 sogod[2648] setting ACLs: {
"<default>" : [],
"tec" : []} ({"<default>" = (); tec = (); }) forPath: admin/Contacts/A58-4CE56580-7-3E75C480
2010-11-18 18:42:26.231 sogod[2648] setting ACLs: {
"tec" : [],
"<default>" : []} ({"<default>" = (); tec = (); }) forPath: admin/Contacts/A58-4CE56580-7-3E75C480
2010-11-18 18:42:26.232 sogod[2648] setting ACLs: {
"<default>" : [],
"tec" : []} ({"<default>" = (); tec = (); }) forPath: admin/Contacts/A58-4CE56580-7-3E75C480
localhost - - [18/Nov/2010:18:42:26 GMT] "POST /SOGo/so/admin/Contacts/A58-4CE56580-7-3E75C480/addUserInAcls?uid=tec HTTP/1.1" 204 0/0 0.035 - - 0

admin set ACL for group "tec" on "test" addressbook

2010-11-18 18:42:39.341 sogod[2648] setting ACLs: {
"@tec" : ["None"],
"<default>" : [],
"tec" : []} ({"<default>" = (); "@tec" = (None); tec = (); }) forPath: admin/Contacts/A58-4CE56580-7-3E75C480
2010-11-18 18:42:39.344 sogod[2648] WARNING(-[NSNull(misc) count]): called NSNull -count (returns 0) !!!
localhost - - [18/Nov/2010:18:42:39 GMT] "GET /SOGo/so/admin/Contacts/A58-4CE56580-7-3E75C480/userRights?uid=tec HTTP/1.1" 200 3897/0 0.027 11118 64% 0
2010-11-18 18:42:41.920 sogod[2648] setting ACLs: {
"tec" : [],
"<default>" : []} ({"<default>" = (); tec = (); }) forPath: admin/Contacts/A58-4CE56580-7-3E75C480
2010-11-18 18:42:41.926 sogod[2648] setting ACLs: {
"@tec" : ["ObjectCreator", "ObjectEditor", "ObjectViewer", "ObjectEraser"],
"tec" : [],
"<default>" : []} ({"<default>" = (); "@tec" = (ObjectCreator, ObjectEditor, ObjectViewer, ObjectEraser); tec = (); }) forPath: admin/Contacts/A58-4CE56580-7-3E75C480
localhost - - [18/Nov/2010:18:42:41 GMT] "POST /SOGo/so/admin/Contacts/A58-4CE56580-7-3E75C480/saveUserRights HTTP/1.1" 200 293/89 0.036 - - 0

Alessio can see "test" but not "personal" in admin's addressbook list

2010-11-18 18:42:48.009 sogod[2648] WARNING(-[NSNull(misc) count]): called NSNull -count (returns 0) !!!
localhost - - [18/Nov/2010:18:42:48 GMT] "GET /SOGo/so/alessio/Contacts/userFolders HTTP/1.1" 200 3827/0 0.019 10597 63% 0

localhost - - [18/Nov/2010:18:42:49 GMT] "POST /SOGo/so/alessio/usersSearch?search=admin HTTP/1.1" 200 55/0 0.030 - - 0

2010-11-18 18:42:53.517 sogod[2648] setting ACLs: {
"<default>" : [],
"@tec" : ["ObjectCreator", "ObjectEditor", "ObjectViewer", "ObjectEraser"],
"tec" : [],
"alessio" : ["ObjectCreator", "ObjectEditor", "ObjectViewer", "ObjectEraser"]} ({"<default>" = (); "@tec" = (ObjectCreator, ObjectEditor, ObjectViewer, ObjectEraser); alessio = (ObjectCreator, ObjectEditor, ObjectViewer, ObjectEraser); tec = (); }) forPath: admin/Contacts/A58-4CE56580-7-3E75C480
localhost - - [18/Nov/2010:18:42:53 GMT] "POST /SOGo/so/admin/foldersSearch?type=contact HTTP/1.1" 200 271/0 0.056 - - 0

"Test" has the same acl of "personal"

mysql> select * from sogoadmin00b7c907be2_acl;
+-------+-----------------------------------------+---------------+
| c_uid | c_object | c_role |
+-------+-----------------------------------------+---------------+
| @tec | /admin/Contacts/A58-4CE56580-7-3E75C480 | ObjectCreator |
| @tec | /admin/Contacts/A58-4CE56580-7-3E75C480 | ObjectEditor |
| @tec | /admin/Contacts/A58-4CE56580-7-3E75C480 | ObjectViewer |
| @tec | /admin/Contacts/A58-4CE56580-7-3E75C480 | ObjectEraser |
+-------+-----------------------------------------+---------------+
4 rows in set (0.00 sec)

TagsNo tags attached.

Activities

alessio

alessio

2010-11-19 17:12

reporter   ~0001872

Very strange. 10/15 mins after. Alessio can see "Personal" too.
I don't understand :-|

alessio

alessio

2010-11-19 17:22

reporter   ~0001873

In this 10/15 min, Alessio with Thundebird can't see Personal.
I don't think that is a browser's cache problem :-|

Issue History

Date Modified Username Field Change
2010-11-19 17:11 alessio New Issue
2010-11-19 17:12 alessio Note Added: 0001872
2010-11-19 17:22 alessio Note Added: 0001873