CoderDojo / community-platform

Zen, the CoderDojo Community Platform!
https://zen.coderdojo.com
MIT License
121 stars 55 forks source link

Event creation form: notifications and exposing internal endpoints #1263

Closed Wardormeur closed 4 years ago

Wardormeur commented 5 years ago

Epic: https://github.com/CoderDojo/community-platform/issues/1230 Requires https://github.com/CoderDojo/community-platform/issues/1262 This issue describe the glueing of the different endpoints created in https://github.com/CoderDojo/community-platform/issues/1262 in order to expose an usable v3 API by the frontend. When publishing an event, notifications to dojo's members should be sent. When cancelling an event, notifications to dojo's members should be sent. Editing and saving a draft event has no side effect, and are pure proxied functions. Endpoints should be exposed as part of the Dojo's prefix, and not accept the dojo_id as part of the body in order to not conflict with permissions ownership (params have priorities over body content) Permissions should be set as cd_dojos's have_perms for 'ticketing-admin'.