Description
When a workspace owner invites themselves (using their own email address) to their own workspace, their role is silently downgraded from Admin to Member. This causes a complete loss of workspace management capabilities with no way to recover through the UI.
Steps to Reproduce
- Create a workspace as admin
- Navigate to workspace settings and invite a new member using your own email address (the same email associated with your account)
- Accept the invitation
- Check your role in the workspace
Expected Behavior
- The self-invite should be rejected (owner is already a member), OR
- The owner's Admin role should remain unchanged after accepting
Actual Behavior
- Owner's role is silently changed from "Admin" to "Member"
- Owner can no longer manage the workspace (add/remove members, change settings, etc.)
- No UI option to recover admin privileges
Impact
This is a critical issue. The workspace owner completely loses administrative control with no self-service recovery path. The only recourse is contacting support.
Environment
- Platform: OpenCode Zen (opencode.ai)
- Feature: Workspace member management
Result Captured
While correct result should be like:
The second capture is missing. The correct behavior should be a "Turn off subscribe" button displayed in the top-right corner.
Plugins
No response
OpenCode version
No response
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response
Description
When a workspace owner invites themselves (using their own email address) to their own workspace, their role is silently downgraded from Admin to Member. This causes a complete loss of workspace management capabilities with no way to recover through the UI.
Steps to Reproduce
Expected Behavior
Actual Behavior
Impact
This is a critical issue. The workspace owner completely loses administrative control with no self-service recovery path. The only recourse is contacting support.
Environment
Result Captured
While correct result should be like:
The second capture is missing. The correct behavior should be a "Turn off subscribe" button displayed in the top-right corner.
Plugins
No response
OpenCode version
No response
Steps to reproduce
No response
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response