Users, roles and permissions
Every portal user has one role. A role lists exactly what its owner may do, and the orchestration actions are checked per environment (DEV, HMG, PRD).
| Role | For | Can |
|---|---|---|
viewer |
stakeholders | read everything, change nothing |
qa |
quality | run robots in DEV and HMG to validate them; creates and changes nothing |
developer |
whoever builds | create and change robots, register releases, deploy to DEV and HMG, run in DEV and HMG, ignore known failed runs, schedule in DEV and HMG |
operator |
whoever runs production | everything a developer does, plus run and schedule in PRD and ask for PRD deployments |
approver |
release manager | approve or reject PRD deployments; nothing else |
admin |
platform owner | everything, including users, integrations and GitHub |
Separation of duties: a developer builds, an operator asks for production, an approver decides. Nobody approves a deployment they requested (OBSKITPY_ALLOW_SELF_APPROVAL=1 turns that off, for one-person teams).
Creating users
obskitpy user roles # what each role is for
obskitpy user create --email qa@company.com --name QA --role qa --generate
obskitpy user list
--generate prints a random password once. Without it the command asks for the password (or reads OBSKITPY_NEW_PASSWORD). Only an admin can create users.
What you see in the console
The console hides what the signed-in role cannot do: a QA user sees "Run now" only for DEV and HMG, a developer cannot pick PRD to deploy, and only an approver gets the Approve and Reject buttons. The API enforces the same rules (a forbidden action answers 403 with the reason).
Other areas
Integrations, automations and incidents keep the coarse levels: developer and operator write, admin administers, the other roles read.