People and access

Who can sign in, what each person sees, who administers Pinax, the tokens scripts use, and reviewing it all.

People and access

Who can sign in, what each person sees, and who administers Pinax. People lists everyone, with their username, labs and roles, and status; the tabs narrow it to administrators, people with site roles, people with no access, and inactive people; Search finds by name, username, email, or title.

People and accessPeople and access
People and access: two storage administrators, PIs, delegates, and a staff scientist in a lab and a department.

Add person: a username (with single sign-on, exactly the name the proxy sends; with Entra ID, usually the user principal name), a name, an email, a title, and a lab with a role. The panel shows the folders they will see before you save. A person's page has their profile, their labs and roles, the administrator role, and their recent changes from the audit log:

A person's pageA person's page
Jordan Okafor's page: a delegate for two labs.

Site roles

Beside lab memberships, a person can have site roles, given and taken away on their page, each change audited. A person can have several (a finance officer who is also a PI), and every role works with every way of signing in.

RoleSeesChanges
Storage administratorEverythingEverything: people, labs, folder ownership, prices, capacity, the tags, and any lab's tags and plan
AuditorEverything a storage administrator sees, people and the audit log includedNothing
FinanceEvery lab's and department's charges (Storage charges of any of them, Chargeback and its statement), and the prices, free tiers, and capacities behind themNothing; sees no folders, files, or people
Division headEach lab in the divisions chosen (a lab's Division) as its members see it: its folders and every report, its charges, its plan, and its collectionsNothing: tagging and planning stay with each lab's PI and delegates
PI, owner, or delegateTheir lab's or department's folders and every report, its charges, plan, and collectionsIts folders' tags and its cleanup plan

With sign-in through Entra ID, a site may map some or all of these roles from Entra ID instead: those show From Entra ID on a person's page, and are set when the person signs in (Roles from Entra ID).

Pages show each person what they may use: an auditor sees the administration pages without their buttons, and finance a sidebar of charges. Every check is made on the server, for every request (Security). A division head's labs follow the labs' Division: change a lab's division, and its folders move to the new division's heads.

A division head's pageA division head's page
Grace Whitfield, head of Basic Sciences: no lab of her own, and the folders of its three labs to read.

Labs and departments lists every lab and department with its members and folders. Add lab or department adds one: a slug (its short ID), a name, whether it is a lab or a department (which decides its free tier), its division, and its research area. A lab's page changes its details or deactivates it: its members stop seeing its folders, which stay its own, and charged to it, until they are moved.

Labs and departmentsLabs and departments
Labs and departments, with their members and folders.
A lab's pageA lab's page
The Fujimoto Lab's page: its folders, members, and recent changes.

For many people at once, pinax import reads CSV files with a dry run first (IMPORT.md).

API tokens

Scripts read Pinax, or act for someone, with API tokens instead of signing in, however people sign in (API tokens for scripts). API tokens, in the sidebar for administrators and auditors and in everyone's menu, has three lists:

An administrator can Revoke any token, here or on its person's page; a person revokes their own. Deactivating a person revokes their tokens, and reactivating them does not bring them back. Making and revoking a token is audited, and so is every change made with one, with the token's name: with the token “…” in a person's or lab's recent changes, and token in the event's detail. No token can make or revoke tokens, or change a password.

API tokensAPI tokens
Priya Natarajan's tokens page: her own token, then the service tokens, each with when and from where it was last used.

Access review

Who has access to what, as of now, for a periodic review (a recertification) and a record that it was done. Access review, in the sidebar of administrators and auditors, has:

Find narrows every list to a person, lab, division, role, or folder. Download CSV has a row for each piece of access each person has (one saying none for someone who sees nothing), with what it lets them see and since when, for a spreadsheet or the review's record. Only active people and labs are listed: deactivated ones give no access, and are counted.

Record a review, once you have gone through it, keeps who reviewed it, when, a note, and how much access there was, in the audit log (access.reviewed); Reviews lists the latest. It changes no one's access, so auditors may record it too.

Pinax records when access was given from 0.12.0 on: a role or membership given before says Not recorded. Changing a member's role (delegate to PI) gives it again, from then.

The access reviewThe access review
Helen Marsh's access review: what is worth a look, the site roles with when each was given, and her review recorded.