hapi principal create for Persons and Bots
#79
Notifications
Due Date
No due date set.
Reference: bobby/hapi#79
Reference in new issue
Block a user
Part of #73 (spec: #72)
What to build
The Owner can create Principals only from the in-pod CLI:
hapi principal create person|botwith a name (and a description for Bots). The first Person can be created as the Owner when no Owner exists yet. There is always exactly one Owner after that, and no HTTP route creates Principals. Principals are never hard-deleted.Acceptance criteria
hapi principal create personand... botprint the new Principal's id--ownersucceeds only when no Owner exists, and fails otherwise