Hello,
I try to read the grants set for the current user. I had already make the function for set it in access, so that is okay, I can check the box like “Read”, “Write”, etc…
But I try to check in my application with differents way, and I can not access to this informations.
This function give me only an array with the User-id => -1 :
$grants = $GLOBALS['egw']->acl->get_grants('myapps');
Thanks a lot if you can show me a good way.
Ps : I try to follow the documentation https://github.com/Nilpferdschaf/Egroupware-Doku/wiki/Code-Corner-0-Index, but for the ACL there are no many explanation.