ATS · Authorization & Shape Constraints

URL layout: / (/index.html) is the public home (open roles + apply links); /apply.html is the public application form; /roles.html is the public composed roles feed; the private hiring dashboard lives at /admin/ (/admin/index.html).

/admin/index.html is fully private: no anonymous GET rule exists, so with the host in default-get-authz-mode: deny every anonymous read (whole-doc and selector-scoped) is refused. Only members of the admins group (see Groups below) can read it. Writes are gated to the admins group, except the single public POST #candidates-body window that lets apply.html submit applications.

Why roles live on a separate page: this platform treats any public selector-scoped GET allow rule as opening every selector of that resource for anonymous reads (explicit deny rules do not override it). So /admin/index.html cannot hold both private candidate data and a public roles window. Instead, /roles.html is a fully-public page that <p:include>s #roles-body from the private /admin/index.html via elevated server-side composition. The home page (/) and apply.html read roles from /roles.html; candidate/interview/activity data is never exposed.

Groups

The admins group gates the private admin screens. Membership is matched against the principal's verified OIDC email (an unverified/absent email never matches). Members: admin2@example.com, admin1@example.com, admin3@example.com. Add or remove a member below to change who can reach /admin/.

ActorGroups
admin2@example.com
  • admins
admin1@example.com
  • admins
admin3@example.com
  • admins
admin2@example.com
  • admins
admin1@example.com
  • admins
admin3@example.com
  • admins

Authorization Rules

ActorResourceMethodSelectorAction
admins /admin/index.html
  • GET
  • OPTIONS
allow
admins /admin/
  • GET
  • OPTIONS
allow
admins /admin/index.html
  • POST
  • PUT
  • DELETE
tbody, tr[itemtype] allow
admin1@example.com /admin/index.html
  • GET
  • OPTIONS
  • POST
  • PUT
  • DELETE
allow
admin1@example.com /admin/
  • GET
  • OPTIONS
allow
admin2@example.com /admin/index.html
  • GET
  • OPTIONS
  • POST
  • PUT
  • DELETE
allow
admin2@example.com /admin/
  • GET
  • OPTIONS
allow
admin3@example.com /admin/index.html
  • GET
  • OPTIONS
  • POST
  • PUT
  • DELETE
allow
admin3@example.com /admin/
  • GET
  • OPTIONS
allow
* /index.html
  • GET
  • OPTIONS
allow
* /apply.html
  • GET
  • OPTIONS
allow
* /role.html
  • GET
  • OPTIONS
allow
* /role/*
  • GET
  • OPTIONS
allow
* /uploads/*
  • PUT
allow
admins /uploads/*
  • GET
  • PUT
  • DELETE
  • OPTIONS
allow
admin1@example.com /uploads/*
  • GET
  • PUT
  • DELETE
  • OPTIONS
allow
admin2@example.com /uploads/*
  • GET
  • PUT
  • DELETE
  • OPTIONS
allow
admin3@example.com /uploads/*
  • GET
  • PUT
  • DELETE
  • OPTIONS
allow
admins /outbox/*
  • GET
  • PUT
  • DELETE
  • OPTIONS
allow
admin1@example.com /outbox/*
  • GET
  • PUT
  • DELETE
  • OPTIONS
allow
* /roles/*
  • GET
  • OPTIONS
allow
admins /role/*
  • PUT
  • DELETE
  • OPTIONS
allow
admin1@example.com /role/*
  • PUT
  • DELETE
  • OPTIONS
allow
admin2@example.com /role/*
  • PUT
  • DELETE
  • OPTIONS
allow
admin3@example.com /role/*
  • PUT
  • DELETE
  • OPTIONS
allow
* /roles.html
  • GET
  • OPTIONS
allow
* /whoami.html
  • GET
  • OPTIONS
allow
* /admin/index.html
  • POST
tbody#candidates-body allow

Shape Constraints

Candidate row #candidates-body tr[itemtype="https://pagelove.org/Candidate"] :has([itemprop=id]) :has([itemprop=name]) :has([itemprop=roleId]) :has([itemprop=stage]) :has([itemprop=owner]) :has([itemprop=firstContact])
Candidates table — CLOSED (untrusted public write path)

Fires when the anonymous POST #candidates-body target is hit. Being closed (it declares permits), it rejects any element or attribute not listed below with 422 — so no <script>, <img onerror>, style/on* handlers, or other markup can be stored via the public form. Permits are the union of every element/attribute used by real candidate rows (stored data, apply.html, and the admin renderer). Each is tied to a specific element so a bare-attribute permit can't let a foreign tag slip through.

#candidates-body tr[id][itemscope][itemtype] td td[class] td[hidden] td[itemprop] div[class] div[itemprop] span[class] span[itemprop] span[data-stage] span[data-priority] a[class] a[href] a[itemprop] time[class] time[datetime] time[itemprop]
Role row #roles-body tr[itemtype="https://pagelove.org/Role"] :has([itemprop=id]) :has([itemprop=title]) :has([itemprop=hiringManager]) :has([itemprop=employmentType]) :has([itemprop=status])
Interview row #interviews-body tr[itemtype="https://pagelove.org/Interview"] :has([itemprop=id]) :has([itemprop=candidateId]) :has([itemprop=type]) :has([itemprop=date])
Activity log row #activity-body tr[itemtype="https://pagelove.org/ActivityLog"] :has([itemprop=id]) :has([itemprop=candidateId]) :has([itemprop=type]) :has([itemprop=date]) :has([itemprop=summary])
Powered by Pagelove