Hi Ralf,
The 0 is already their via the grants.
not for my users. The default 0 grant is just there for an admin user.
Maybe that’s my problem. Where does this get set?
addressbook_so around line 288 in trunk:
// add grants for accounts: if account_selection not in
(‘none’,‘groupmembers’): everyone has read access,
// if he has not set the hide_accounts preference
// ToDo: be more specific for ‘groupmembers’, they should be able to see
the groupmembers
if
(!in_array($GLOBALS[‘egw_info’][‘user’][‘preferences’][‘common’][‘account_selection’],array(‘none’,‘groupmembers’)))
{
$this->grants[0] = EGW_ACL_READ;
}
// add account grants for admins
if ($this->is_admin()) // admin rights can be limited by ACL!
{
$this->grants[0] = EGW_ACL_READ; // admins always have read-access
if (!$GLOBALS[‘egw’]->acl->check(‘account_access’,16,‘admin’))
$this->grants[0] |= EGW_ACL_EDIT;
// no add at the moment if
(!$GLOBALS[‘egw’]->acl->check(‘account_access’,4,‘admin’))
$this->grants[0] |= EGW_ACL_ADD;
if (!$GLOBALS[‘egw’]->acl->check(‘account_access’,32,‘admin’))
$this->grants[0] |= EGW_ACL_DELETE;
}
That’s the problem, why I could not reproduce it. For none it is correct
to not show any user.
The implemenation for groupmembers in the addressbook is missing,
therefore accounts are completly hidden from users having set
groupmembers as there account-selection method. I guess you users fall
in that case.
Now I can reproduce it
I just added an implementation here. I will commit it soon, after some
more tests.
Ralf
contact_owner is NOT NULL, but it might be necessary to list users and
groups together, because the right join with egw_accounts can produce a
NULL contact_owner.
Ah, I saw another query that lists the “contact_owner IS NULL OR
contact_owner=0”. That answers another question.
I think the “IS NULL” should be changed to “=0” because this is the
value
which identifies an account in addressbook (besides the account_id
column)
Anyway I can not reproduce that. I tried with and without disabled
account addresbook.
Maybe that’s the case because I’m not using a current 1.8 EGw… But
maybe you can give me a hint for the mentioned default 0 grant.
Thanks and greetings
christian
Ralf
Ralf Becker
Director Software Development
Stylite GmbH
[open style of IT]
Morschheimer Strasse 15
67292 Kirchheimbolanden
fon +49 (0) 6352 70629-0
fax +49 (0) 6352 70629-30
mailto: [hidden email]
</user/SendEmail.jtp?type=node&node=1843315&i=0&by-user=t>
www.stylite.de
www.egroupware.org
Geschäftsführer Andre Keller,
Gudrun Müller, Ralf Becker
Registergericht Kaiserslautern HRB 30575
Umsatzsteuer-Id / VAT-Id: DE214280951
The Next 800 Companies to Lead America’s Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book “Blueprint to a
Billion” shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
eGroupWare-developers mailing list
[hidden email] </user/SendEmail.jtp?type=node&node=1843315&i=1&by-user=t>
https://lists.sourceforge.net/lists/listinfo/egroupware-developers
View message @
http://egroupware.219119.n3.nabble.com/grant-access-in-applications-no-users-shown-tp1841567p1843315.html
http://egroupware.219119.n3.nabble.com/grant-access-in-applications-no-users-shown-tp1841567p1843315.html?by-user=t
To unsubscribe from grant access in applications - no users shown,
click here
http://egroupware.219119.n3.nabble.com/template/TplServlet.jtp?tpl=unsubscribe_by_code&node=1841567&code=Y2hyaXN0aWFuQGpheXRyYXh4LmRlfDE4NDE1Njd8LTI4OTE2MjkyMw==&by-user=t.
–
jaytraxx
christian binder
batschkastr. 32
83395 freilassing
tel :: +49 (8654) 650247
mail :: [hidden email] </user/SendEmail.jtp?type=node&node=1846655&i=0>
View this message in context: Re: grant access in applications - no
users shown
http://egroupware.219119.n3.nabble.com/grant-access-in-applications-no-users-shown-tp1841567p1846655.html
Sent from the egroupware-developers mailing list archive
http://egroupware.219119.n3.nabble.com/egroupware-developers-f278587.html
at Nabble.com.
The Next 800 Companies to Lead America’s Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book “Blueprint to a
Billion” shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers
–
Ralf Becker
Director Software Development
Stylite GmbH
[open style of IT]
Morschheimer Strasse 15
67292 Kirchheimbolanden
fon +49 (0) 6352 70629-0
fax +49 (0) 6352 70629-30
mailto: rb@stylite.de
www.stylite.de
www.egroupware.org
Geschäftsführer Andre Keller,
Gudrun Müller, Ralf Becker
Registergericht Kaiserslautern HRB 30575
Umsatzsteuer-Id / VAT-Id: DE214280951
The Next 800 Companies to Lead America’s Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book “Blueprint to a
Billion” shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers