photo-front/documentation/schemas/Group.markdown
Jaisen Mathai 2da1298b38 Adding working logic to display photos based on permission and logged in user.
Still need a UI to create groups and add them to photos.

Gh-27
2011-09-26 17:23:50 -07:00

979 B

Documentation

OpenPhoto, a photo service for the masses


What's a Group object for?

The Group object stores information for a given group. A Group consists of an id, name and array of email addresses.


Schema for a Group object

{
  id: (string),
  appId: (string),
  name: (string),
  members: (set)
}

Schema description

  • id, a string idenfier
  • appId, the appId which created this group
  • name, the name of the group
  • members: a set of email addresses who belong to this group