[dev] Littles questions for using API's methods
Gerard Breiner
gerard.breiner at ias.u-psud.fr
Mon Jun 4 14:40:57 UTC 2012
Hello Mike,
Thanks for these precisions… It make me understand what Jan meant…
I will try soon to reduce registry.local.php and kept only what is necessary.
I have another question about calendar permissions and listCalendars.
In the admin interface admin/perms I have assigned the permissions 'show' and 'read' to allow the user webadm access to all agendas.
I dont understand why with the below code I do not list all the calendars but only the others users shares with "webadm" user… It is like the perms I setup has not been validated.
[CODE]
$cals = $registry->call('calendar/listCalendars', array(false, Horde_Perms::READ));
var_dump($cals);
[/CODE]
Best regards
Gérard
Le 1 juin 2012 à 16:08, Michael J Rubinsky a écrit :
>
> Quoting Gerard Breiner <gerard.breiner at ias.u-psud.fr>:
>
>> Yes in registry.php it is ? But, in fact for some reason, the line "provides" in registry.local.php had been commented by me a few weeks ago. Then I forgot that registry.local.php has precedence on registry.php in Horde 4 (if I do understood) ? So I didn't add but uncommented what I have commented.
>> Side horde all works very fine at the time I write.
>
> FWIW, there is no need to duplicate the contents of the entire file or even the entire entry in the local file. Just add the things that need to be changed from the registry.php file.
>
>
> --
> mike
>
> The Horde Project (www.horde.org)
> mrubinsk at horde.org
>
> --
> dev mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
More information about the dev
mailing list