-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add /communities
endpoints for App Community CRUD and admin management
#71
Comments
Gonna be the one to ask the annoying procedural question: should we make a small (go, probably) microservice that terrain delegates to for this group of endpoints? |
Not at this time. All the current |
Mainly modifies existing teams functions for creating groups as either iplant:de:<env>:teams:<user>:<name> or iplant:de:<env>:communities:<user>:<name> New Communities will be publicly viewable by default, with the creator as the initial admin. Also added a `payload.action` to each Team notification, since the UI seems to be looking for an `added_to_team` action, but is currently checking the `email_template` instead.
Updated terrain.clients.iplant-groups/add-community to create community groups with names formatted like iplant:de:<env>:communities:<name> (keeping communities out of the requesting user's namespace).
These endpoints will mostly be the same as the
/teams
endpoints, but will operate on a newcommunities
Grouper folder, and communities will not require members apart from admins.The list of endpoints to be added:
GET /communities
POST /communities
GET /communities/:name
PATCH /communities/:name
DELETE /communities/:name
GET /communities/:name/admins
POST /communities/:name/admins
POST /communities/:name/admins/deleter
GET /admin/communities
POST /admin/communities
GET /admin/communities/:name
PATCH /admin/communities/:name
DELETE /admin/communities/:name
GET /admin/communities/:name/admins
POST /admin/communities/:name/admins
POST /admin/communities/:name/admins/deleter
The text was updated successfully, but these errors were encountered: