---
url: https://docs.sunlicense.com/guide/team-and-roles.md
---
# Team and roles

The person who creates the organization is its **Owner** and can do everything. Owners and Admins add members on the **Team** page with **Invite member**: enter their email and a role. They get an email with a link to choose their own password and join; nobody else ever knows it.

* The invitation link works once, for **7 days**, and only for the address you invited. You can also copy it from the dialog and send it yourself.
* **Pending invitations** are listed under the members. **Resend** sends a fresh link (the old one stops working); **Revoke** cancels it.
* A pending invitation holds a staff seat until it is accepted, revoked or expires.
* You can invite someone who already has a SunLicense account, for example a freelancer who works with several organizations. The invitation asks them to enter their existing password instead of choosing one (or, if they're already signed in with that address, just to click **Join**), and they keep **one login** for all their organizations. Only someone who is already a member of your organization can't be invited again.
* An invitation opened while signed in with a **different** address says so and offers **Sign out and continue**, so nobody joins with the wrong login by accident.

## Your account

* **Confirm your email:** after you sign up we email you a link. Until you click it, the dashboard shows a reminder with a **Resend email** button.
* **Forgot your password?** Use the link on the sign-in page. We email a reset link that works once, for 1 hour. Existing sessions stay signed in until they expire (12 hours).
* **Change your password** under **Settings → Profile & password**.
* **Your profile picture** (under **Settings → Profile & password**, or **Profile picture** in the account menu at the bottom of the sidebar): everyone starts with a hand-drawn character from [Open Peeps](https://www.openpeeps.com/). Press **Shuffle** for another one, or pick the face, hair, accessories and skin tone, then **Save picture**. Or press **Upload photo** to use a real picture (PNG, JPEG or WebP; it's cropped to a square in your browser before it's sent): your photo shows instead of the drawing until you press **Remove photo**, and the drawing is kept for then. Your team sees it on the **Team** page. It's set per organization, like your name.
* **Your language.** The dashboard speaks English, Español, Português (Brasil), Deutsch, Français, Русский, 简体中文, 日本語, Türkçe and Polski. Pick yours under **Settings → Profile & password → Language**, from **Language** in the account menu at the bottom of the sidebar, or at the bottom of the sign-in page. It's saved on your account, so it follows you to every device and every organization you belong to; until you choose, the dashboard follows your browser's language. Emails, these docs, the customer portal and the admin console stay in English, and so do plan names, license keys and anything your team typed.
* **Your theme.** The dashboard is light unless you pick **Dark**, or **System** to follow your device's light or dark setting as it changes. Pick it under **Settings → Profile & password → Theme** or from **Theme** in the account menu. Like the language, it's saved on your account and follows you to every device. The customer portal, the redeem page and emails stay light, since they show your brand to your customers.
* **Find anything** with the search bar at the top of every page (or press ⌘K, Ctrl K or /): type what you're looking for, like "invoice", "webhook" or "password", and it takes you to the page and section, or to the matching part of these docs. It only shows pages your role can open. On a phone, tap the search icon in the top bar.
* **Settings** has its own menu on the left (at the top on a phone): your organization's **General** settings, **Plan & usage** and **SunLicense AI**; what your customers see (**Branding**, **Customer emails**, **Customer portal**, **License keys**); and your own **Profile & password** and **Access tokens**. The Owner's **Danger zone** is at the bottom of **General**.
* **The sidebar** groups the pages by what they're for. On a computer, the button next to the logo collapses it to icons (hover one for its name) and the browser remembers your choice.
* **One login, several organizations.** Your email, password and email confirmation belong to your account, so a new password or a reset works in every organization you're a member of. Your role, and what you can see, is set separately in each organization. When you sign in you land in the organization you used last.
* **Switch organizations** at the top of the sidebar: it shows the organization you're in and your role there. Click it and pick another one; the dashboard opens that organization's **Overview** with its data, your role there and its plan. Other open tabs follow the switch. People in one organization don't see the switcher.
* **Your organizations** (also under **Settings → Profile & password**) lists every organization you belong to, with your role and when you joined, and a **Leave** button. Leaving frees your seat there and stops your personal access tokens for it. If you leave the organization you're in, the dashboard moves you to another one first. The last active Owner can't leave (make someone else Owner first), and you can't leave your only organization.
* **Personal access tokens** (under **Settings → Access tokens**) let scripts, CI and AI assistants act as you without your password. Give each one only the permissions it needs (they can never exceed your role), an expiry, and revoke it when you're done. [How they work](/api/overview#personal-access-tokens).

## Built-in roles

| Role | Can |
|---|---|
| **Owner** | Everything, including granting or removing the Owner role |
| **Admin** | Everything except changing owners |
| **Developer** | Products, policies, licenses, API keys and marketplace integrations; view analytics and the team |
| **Support** | View products and integrations; view, issue, suspend and revoke licenses; view analytics |
| **Viewer** | Read-only: products, licenses, API keys, integrations, analytics, team |

On the Standard and Business plans you can also create **custom roles** from these permissions:

| Permission | Allows |
|---|---|
| `products.read` / `products.write` | View / create and edit products and policies |
| `licenses.read` / `licenses.write` | View / issue, suspend, revoke licenses and deactivate machines |
| `api_keys.read` / `api_keys.write` | View / create and revoke API keys |
| `integrations.read` / `integrations.write` | View marketplace integrations and their event log / connect stores, change mappings, see secrets |
| `analytics.read` | Overview and Analytics pages, each product's Analytics tab |
| `staff.read` / `staff.write` | View / manage team members and roles |
| `org.manage` | Rename the organization |
| `tasks.read` / `tasks.write` | View tasks (imports and other requests to SunLicense), their progress and results / start and cancel them and upload their files. Some kinds of task also need `org.manage` or the Owner |
| `automations.read` / `automations.write` | View automations and their runs / create, change, switch on and test-run them. Using license actions in an automation also needs `licenses.write` |

Role changes and disabled accounts take effect within 30 seconds. An organization always keeps at least one active Owner.
