Roles
There are four built-in roles:- Owner: Full control of the workspace. One per workspace.
- Admin: Manage members and model providers, plus everything an Editor can do.
- Editor: Create, edit, and delete apps and knowledge bases.
- Normal: Use published apps only.
The Owner, Admin, and Editor roles can create knowledge bases, while who can see and use an existing one is controlled in its own settings. See Manage Knowledge Settings for details.
Add Members
The Owner and Admins can add members.Prerequisites:
- Set
CONSOLE_WEB_URLto an address invitees can reach, notlocalhost. Every invitation link is built from it. - Configure an email service with
MAIL_TYPEso Dify can email invitations. SeeCONSOLE_WEB_URLand Mail Configuration for details.
INVITE_EXPIRY_HOURS); if someone doesn’t accept in time, invite again to send a fresh link.
Manage Members
Change a role: The Owner and Admins can change any member’s role, and it takes effect on the member’s next action, even if they’re currently signed in. The Owner’s role can only be changed through an ownership transfer. Remove a member: The Owner and Admins can remove any member. This revokes the member’s workspace access right away. The apps and knowledge bases they created stay in the workspace. The Owner can’t be removed. Transfer ownership: Only the Owner can transfer ownership. The transfer is confirmed with a verification code emailed to the Owner. Once verified, the chosen member becomes the new Owner and the previous Owner becomes an Admin.Because the verification code is sent by email, ownership transfer requires a configured email service (
MAIL_TYPE). See Mail Configuration for details.Troubleshooting
| Symptom | What to check |
|---|---|
| Invitees don’t receive the invitation email | Email is sent only when MAIL_TYPE is configured. The invitation link can also be copied from the Invitation sent dialog and shared directly. |
An invitation link won’t open, or points to localhost | Every link is built from CONSOLE_WEB_URL. Set it to an address invitees can reach. |
| An invitation link has expired | Links last 72 hours by default. Invite the same email again to issue a new one. |
| Ownership transfer never sends a code | The code is emailed to the Owner, so MAIL_TYPE must be configured. |