Appearance
Resources
Resource is a software or physical item employees need access to: GitHub, test environment, VPN, office key.
What is what
- Resource tree — top-level app with sub-items: GitHub > repository, Jira > project.
- Entitlement — what can be granted on a resource, e.g.
read,write. Defaultaccess. - Point of contact (PoC) — employee managing the resource. PoCs of a parent also manage all its sub-items.
- Access request — employee (or someone for them) asks for an entitlement; PoCs decide.
- Grant — employee has an entitlement on a resource, with personal
linkandadditionalInfo(login, password, how to get in). - Binding — automation: entitlement given to everyone matching a tag (
$team:Dev).
Kinds of resources
| Kind | How access is given |
|---|---|
| Manual | PoC gives access in the real tool by hand, then records it here |
| Connected (GitHub) | Sub-items and current access are synced from the app; access given / removed through the app API |
| Custom webhook | Your own tool (admin panel, script) receives approved requests and reports back |
Who can do what
| Who | Can |
|---|---|
| Company owner | everything |
resource create / modify / delete | create top-level resources (becomes PoC), edit, move, delete any resource, its PoCs and bindings |
resource.request read / modify / delete | see and decide all requests and grants (default none) |
| Resource PoC (of it or any parent) | edit it, add / edit / delete sub-items, manage PoCs and bindings, decide its requests, add / edit / revoke grants |
| Employee | browse resources (resource read, default everyone), request access, cancel own requests, see own grants with additionalInfo |
| System | applies bindings, revokes on deletion, syncs connected apps |
Define a resource
- Resources → Add: name (required), description, link, category, image, entitlements. You become its PoC.
- Add PoCs with an optional note ("ask in #it-help").
- PoCs add sub-items.
- An entitlement used by a binding, active grant or pending request cannot be removed.
- Delete removes sub-items, requests and grants. Deleting a connected app uninstalls it; access already given inside the app stays.
Request access
- Employee opens a resource, picks an entitlement and writes a reason.
- PoC or access manager may request for someone else (team lead for a newcomer).
- PoCs are notified and see it in to decide.
- PoC approves (with
link/additionalInfo) or declines with a reason. The employee is notified. - Requester cancels a pending request any time.
Already granted or same request pending — rejected.
Request statuses
pending → in_progress (approved, being provisioned) → approved (grant created) or failed (app refused, PoC retries). pending → declined or cancelled.
Manual resource: PoC approves (in_progress), gives access by hand, then completes with link / additionalInfo.
Request and binding modes
Set on the top-level resource, apply to sub-items:
| Mode | Effect |
|---|---|
disabled | requests refused / bindings ignored |
manual | default, PoC decides |
auto | approved by the system at once; connected resources only |
Grants
- PoC adds a grant directly (access given outside, legacy accounts); this settles open requests for the same access.
- PoC edits
link/additionalInfo(rotated password); owner notified. - PoC revokes.
additionalInfois stored encrypted, shown only to the grant owner and resource PoCs, never written to the audit log.
Automation (bindings)
PoC binds an entitlement to tags — same grantee format as access policies: $team:<team>, $role:<role>, custom tags, any-of / all-of.
| Event | What happens |
|---|---|
| Employee starts matching (joins team, gets role / tag) | grant request created (source: binding) |
| Employee stops matching | pending binding request cancelled; binding grant gets a revoke request; rejoining before approval cancels it |
| Employee deleted | revoke request for every grant, pending requests cancelled |
Grants from own requests or added by PoCs are revoked only on deletion, not on team leave.
A team lead may also request a binding (e.g. two repos for their team); PoC approves it like an access request.
Connected resource: GitHub
- Owner (or
resourcecreate) adds GitHub from the catalog. Statuspending. - Connect GitHub — pick org and repos, install the app.
- Status
syncing: repos become sub-items (read/triage/write/maintain/admin), org members and collaborators become accounts. Thenactive. - Each employee links their GitHub account once. Without it, requests wait with
account_not_linked. - PoC can map unknown GitHub accounts to employees by hand.
- Approved request: system adds the collaborator. If GitHub sends an invite, the request waits (
invitation_pending) until accepted. - Changes made directly on GitHub are picked up by sync (webhooks + hourly): new access becomes an
observedgrant, removed access revokes the grant (PoCs notified). - App uninstalled or suspended: status
broken, owner notified, reconnect from step 2.
Rules: synced repos cannot be created, renamed or deleted by hand; direct grants are not allowed — use a request. Only direct collaborators are visible (team / org base permissions are not).
Custom webhook resource
companymodify creates an API key (shown once).- Add a resource of type webhook with entitlements.
- PoC sets an https URL and gets a signing secret (shown once; set again to rotate).
- Every approved grant / revoke is POSTed to the URL, signed
X-Signature: sha256=<HMAC>; dedupe byX-Delivery-Id. - Your tool calls back with the API key:
approved(withlink/additionalInfo) orfailed. - 5xx / timeout retried 5 times a minute apart; 4xx fails the request, PoCs notified.
Accounts (for employees)
Each user sees linked accounts and which companies need them. Disconnecting an account in a company removes access given through it and re-asks it for the next linked account.
WIP
Planned:
- request form fields, revocation schedule, offboarding by end date;
- resource audit log for PoCs;
- more providers (Slack, Jira, Linear, Figma, Notion…), GitHub teams;
- webhook delivery log, test send, backoff and auto-disable.
GitHub integration is not yet verified against a real organization.