- '%grp/events' => $this->make_hook('events', AUTH_MDP),
- '%grp/events/sub' => $this->make_hook('sub', AUTH_MDP),
- '%grp/events/csv' => $this->make_hook('csv', AUTH_MDP, 'user', NO_HTTPS),
- '%grp/events/ical' => $this->make_hook('ical', AUTH_MDP, 'user', NO_HTTPS),
+ '%grp/events' => $this->make_hook('events', AUTH_MDP, 'groups'),
+ '%grp/events/sub' => $this->make_hook('sub', AUTH_MDP, 'groups'),
+ '%grp/events/csv' => $this->make_hook('csv', AUTH_MDP, 'groups', NO_HTTPS),
+ '%grp/events/ical' => $this->make_hook('ical', AUTH_MDP, 'groups', NO_HTTPS),