Use these to set up a subset of privileges for volunteers and staff.
You must have the everything
ConventionPrivilege to access this.
Convention Privileges are accessed via /api/conventionprivilege
.
See "Object Properties" in Introduction for basic shared properties.
Complete details in ConventionPrivilegeProperties. It also has these extra read-only properties:
See "Related Objects" in Introduction for how to use them.
The Convention this conventionprivilege belongs to.
THe User will be granted privileges.
The services used to fetch and manipulate convention privileges.
POST /api/conventionprivilege
Returns the same as a normal read.
GET /api/conventionprivilege/xxx
Returns:
{ "id" : "xxx", "user_id" : "xxx", ... }
PUT /api/conventionprivilege/xxx
Returns the same as a normal read.
DELETE /api/conventionprivilege/xxx
Returns:
{ "success" : 1 }