Organizations and members
On hosted Procy, everything you manage belongs to an organization: its devices, users, groups, tunnels, schedules, scripts and vault. This page explains members, roles, invitations and how members sign in. It’s for organization administrators on procy.sh. A self-hosted server with several tenants works the same way.
An organization has a name and an ID. You choose the name when you sign up. The ID is generated from it, for example
acme-k3x9, and appears in the organization switcher. Organizations are fully separated: a member of one sees
nothing of another.
One account (one login, usually your email address) can belong to several organizations. If yours does, you pick the organization when you sign in, and you can switch with the organization switcher at the top of the navigation.
The members of an organization are listed under Settings → Users. What each member can do depends on their user groups:
- Administrators can do everything in the organization, on every device. They also manage members, billing, usage and the organization settings.
- Any other group grants only the permissions you give it under Settings → User groups, on the devices you allow it to reach.
The permissions model explains how groups, permissions and device access fit together. A member’s groups apply to this organization only. In another organization the same account can have different groups.
To change a member’s groups, choose Edit in the member’s actions menu. To take someone out of the organization, choose Remove from organization. They can no longer sign in to it, and their sessions and API tokens there stop working. If their account belongs to other organizations, it stays a member there.
A member who also belongs to another organization owns their own password, two-factor settings and login name. You can change only their groups here. The list marks these members with Also in other organizations.
- Open Settings → Users and choose Invite member.
- Enter their Email or login. Use the email address they sign in with.
- Pick their user groups.
- Choose Invite.
What happens next depends on whether the address already has a Procy account:
- New address. An account is created and is a member right away. If the organization requires Google sign-in, the account has no password: the person signs in with the Google account of that address. Otherwise the dialog shows a one-time password. Pass it on safely. It is shown only once, and the person must change it at their first sign-in. If it’s lost, remove the member and invite them again.
- Existing account. The person gets an invitation. They become a member when they accept it. Until then it’s listed under Pending invitations on the Users page, where you can withdraw it.
Procy emails the person when the login is an email address: a new member gets a “You were added to …” email that says how to sign in (never a password), and an existing account gets an “Invitation to join …” email with a link to its Invitations page. The dialog says whether the email went out; if it didn’t, tell them yourself.
If another organization invites you, an Invitations link appears in your user menu. On the Invitations page, choose Accept or Decline. Accepting makes you a member with the groups of the invitation. Your password and two-factor settings stay the same. You then switch to the new organization with the organization switcher.
To accept an invitation, your account’s email address must be confirmed. If it isn’t, the Invitations page and your Profile show how to confirm it. A Google sign-in confirms it too.
Organizations created by signing up on procy.sh require Google sign-in from the start (see below), so their members always sign in with Google. In other organizations, members can sign in with a password, with Google, or both. A Google account is linked to a login the first time someone signs in with Google using the login’s email address. The Users list shows Google linked for those members.
Each member chooses how they sign in under Settings → Profile → How you sign in: Password and Google, Password only or Google only. “Google only” is available once a Google account is linked. Administrators can also set a member’s sign-in method when they edit the member.
If someone links the wrong Google account, choose Unlink Google account in the member’s actions menu. Their next Google sign-in links one again.
Procy doesn’t ask for its own two-factor code after a Google sign-in. Google’s own 2-Step Verification protects those sign-ins. Google Workspace administrators can enforce it for their domain.
Administrators can make Google the only way into the organization. This is the recommended setting: nobody has a password to lose or reuse.
- Open Settings → Organization.
- Under Sign-in, turn on Require Google sign-in and confirm.
From then on:
- Members sign in with the Google account of their email address. Passwords don’t work in this organization.
- Password sessions end at once, and members with only a password can’t sign in until they use Google.
- New members you invite get no password.
- API tokens keep working.
The setting belongs to the organization. If a member also belongs to another organization that allows passwords, they can still use their password there.
If you belong to several organizations, you can move a device from one to another, for example from a test organization to production. You must be an Administrator of both. Open the device and choose Move to organization…, or use the action in the device list, then pick the target organization.
The device keeps working without changes on the device itself: its credential moves with it, and it reconnects into the target organization by itself. A connected device drops its connection for a moment. It reconnects within about half a minute.
What moves:
- the device, with its name, tags and reported details
- its credential (client ID and password)
- its stored tunnels
What stays in the old organization as history:
- command and script results, schedules and job history
- monitoring data, tunnel activity and connection history
- usage up to the move, and the audit log
The device’s access rules (the user groups allowed to reach it) are cleared, because they name the old organization’s groups. Set them again in the target. Device groups in the old organization no longer include it. Both organizations’ audit logs record the move.
The move is refused when:
- the target organization is suspended, or it has reached its device limit
- the target already has a device with the same ID
- other devices log in with the same credential. A credential moves with only one device, so give the device a credential of its own first.
Platform operators can move a device between any two organizations with the operator API.
The API call is POST /api/v1/clients/{client_id}/move with {"organization": "<target id>"}. It needs a sign-in
session: API tokens belong to one organization and can’t move devices.
Under Settings → Organization, Download export gives you the organization’s configuration as JSON: users and their groups, user groups, devices, device groups, stored tunnels, schedules and the script library.
The export contains no secrets: no passwords, two-factor secrets, API tokens, device credentials or vault values. Each export is recorded in the platform’s audit log.
Under Settings → Organization, Delete this organization asks for the organization ID to confirm. Then:
- The organization is suspended at once. Nobody can sign in, and its devices stop connecting.
- Billing stops, and any subscription is canceled.
- Every administrator with an email address gets a link to cancel the deletion within 30 days.
- After 30 days everything is deleted for good, and the organization’s vault key is destroyed. The ID is never given out again.
Download an export first if you want to keep the configuration. To cancel, use the link in the email before the deletion date.