You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/deploystack/development/backend/roles.mdx
+124-2Lines changed: 124 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,15 +74,16 @@ The RBAC system provides fine-grained access control through roles and permissio
74
74
75
75
## Team System
76
76
77
-
DeployStack includes a comprehensive team management system that allows users to organize their work into teams. Each user automatically gets their own team upon registration and can create up to 3 teams total.
77
+
DeployStack includes a comprehensive team management system that allows users to organize their work into teams and collaborate with other users. Each user automatically gets their own team upon registration and can create up to 3 teams total.
78
78
79
79
### Team Features
80
80
81
81
-**Automatic Team Creation**: Every new user gets a default team created with their username
82
82
-**Team Ownership**: Each team has an owner who has full administrative control
83
-
-**Single User Teams**: Currently, teams support only one user per team
83
+
-**Multi-User Teams**: Teams support up to 3 members with role-based access control
84
84
-**Team Limits**: Users can create up to 3 teams maximum
85
85
-**Unique Slugs**: Teams have URL-friendly slugs with automatic conflict resolution
86
+
-**Default Team Protection**: Default teams cannot have additional members added (personal workspace)
Copy file name to clipboardExpand all lines: docs/deploystack/teams.mdx
+85-10Lines changed: 85 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,8 @@ In DeployStack, teams provide:
16
16
-**Resource Organization**: All your MCP servers, credentials, and settings are organized within teams
17
17
-**Access Control**: Team-based permissions ensure secure access to your deployment resources
18
18
-**Multi-Project Support**: Create up to 3 teams to organize different projects or environments
19
+
-**Team Collaboration**: Teams support multiple members with role-based access control
20
+
-**Default Team Protection**: Your personal default team cannot have additional members added
19
21
20
22
Every team acts as a complete deployment environment, containing everything needed to deploy and manage MCP servers across various cloud providers.
21
23
@@ -135,22 +137,95 @@ The interface provides clear visual feedback:
135
137
136
138
### Current Structure
137
139
138
-
DeployStack teams currently operate with a **single-user model**:
140
+
DeployStack teams support **multi-user collaboration** with role-based access control:
139
141
140
-
- Each team belongs to one user
141
-
- You have full control over your teams
142
-
- No team sharing or collaboration features (planned for future releases)
142
+
- Teams can have up to **3 members maximum**
143
+
- Each team has one **owner** who created the team
144
+
- Team members can have different roles with specific permissions
145
+
-**Default teams are personal** - no additional members can be added to your default team
143
146
144
147
### Team Roles
145
148
146
-
Within your teams, you automatically have the **Team Administrator** role, which provides:
149
+
Teams support two distinct roles with different capabilities:
147
150
148
-
- Full access to all team resources
149
-
- Ability to deploy and manage MCP servers
150
-
- Permission to modify team settings
151
-
- Authority to delete the team
151
+
#### Team Administrator
152
+
-**Full team management**: Can add/remove members, change roles, transfer ownership
153
+
-**Resource access**: Full access to all team resources and deployments
154
+
-**Team settings**: Can modify team name, description, and all configurations
155
+
-**Member management**: Can promote team users to admins or demote admins to users
152
156
153
-
*Note: Team User roles exist in the system for future multi-user team functionality.*
157
+
#### Team User
158
+
-**Basic access**: Can view team information and see team members
159
+
-**Limited permissions**: Cannot add members, change roles, or modify team settings
160
+
-**Resource viewing**: Can see team resources but with restricted management capabilities
161
+
162
+
**Important**: Your **default team** (created automatically with your username) is protected - you cannot add other members to it. This keeps your personal workspace private.
163
+
164
+
## Team Member Management
165
+
166
+
### Adding Team Members
167
+
168
+
Team administrators can add new members to their teams (except default teams):
169
+
170
+
1.**Navigate to Team Management**: Go to your team's management page
171
+
2.**Find Members Section**: Look for the team members management area
172
+
3.**Add Member**: Click "Add Member" and enter the user's email or username
173
+
4.**Assign Role**: Choose either "Team Administrator" or "Team User"
174
+
5.**Send Invitation**: The user will be notified and added to the team
175
+
176
+
**Limitations**:
177
+
-**Maximum 3 members** per team (including the owner)
178
+
-**Default teams**: Cannot add members to your personal default team
179
+
-**Existing users only**: Can only add users who already have DeployStack accounts
180
+
181
+
### Managing Member Roles
182
+
183
+
Team administrators and owners can change member roles:
184
+
185
+
#### Promoting Team Users to Administrators
186
+
-**Who can do this**: Team administrators and team owners
187
+
-**Process**: Select the member and change their role to "Team Administrator"
188
+
-**Result**: User gains full team management capabilities
189
+
190
+
#### Demoting Team Administrators to Users
191
+
-**Who can do this**: Team owners (and other team administrators)
192
+
-**Restriction**: Must maintain at least one team administrator
193
+
-**Process**: Change the administrator's role to "Team User"
194
+
195
+
### Removing Team Members
196
+
197
+
Team administrators can remove members from teams:
198
+
199
+
-**Who can remove**: Team administrators and owners
200
+
-**Cannot remove**: Team owners (must transfer ownership first)
201
+
-**Default teams**: No members to remove (single-user only)
202
+
-**Process**: Select member and click "Remove from Team"
203
+
204
+
### Transferring Team Ownership
205
+
206
+
Team owners can transfer ownership to another team member:
207
+
208
+
1.**Requirement**: Target user must already be a team member
209
+
2.**Process**: Go to team settings and select "Transfer Ownership"
210
+
3.**Choose New Owner**: Select from existing team administrators
211
+
4.**Confirm Transfer**: Confirm the ownership change
212
+
5.**Result**: New owner gains full control, previous owner becomes team administrator
213
+
214
+
**Important**:
215
+
-**Cannot transfer default team ownership** - default teams always belong to the original user
216
+
-**Irreversible action** - ownership transfers cannot be undone
217
+
-**New owner requirements** - Target user must be a team administrator
218
+
219
+
### Default Team Restrictions
220
+
221
+
Your automatically created default team has special protections:
222
+
223
+
-**No Additional Members**: Cannot add other users to your default team
224
+
-**Cannot Transfer Ownership**: Default team ownership cannot be changed
225
+
-**Cannot Leave**: You cannot leave your own default team
226
+
-**Personal Workspace**: Designed to remain your private workspace
227
+
228
+
These restrictions ensure that every user always has a personal, private team for their individual work.
0 commit comments