Wraith. Policy
(Wraith v0.1.0)
View Source
Who may do what, Ghost's staff roles:
owner— everything, including settings, billing, API keys and staffadmin— everything but transferring ownershipeditor— every post, tags, members, comments; not settings or staffauthor— their own posts (create, edit, publish, delete), their profilecontributor— their own drafts; cannot publish or delete published work
can?(user, action, subject) answers it; LiveViews call it before writing
and the rail hides what a role may not reach.
Summary
Functions
The roles a user may assign: owners hand out anything but owner; admins the same.