fixed active workspace bug for users switching public workspaces#735
Open
paullizer wants to merge 2 commits intoDevelopmentfrom
Open
fixed active workspace bug for users switching public workspaces#735paullizer wants to merge 2 commits intoDevelopmentfrom
paullizer wants to merge 2 commits intoDevelopmentfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Fixes a regression where authenticated users who aren’t owners/admins/document-managers couldn’t activate a public workspace for chat due to an overly strict membership check on the setActive endpoint.
Changes:
- Removes the membership/role gate from
PATCH /api/public_workspaces/setActivewhile keeping auth + feature-flag enforcement. - Bumps app version to
0.238.025and adds corresponding release notes. - Adds/updates workflow documentation images and adjusts
.gitignorefortmp_images.
Reviewed changes
Copilot reviewed 3 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
application/single_app/route_backend_public_workspaces.py |
Drops the “Not a member” 403 check for setActive on public workspaces. |
application/single_app/config.py |
Version bump 0.238.024 → 0.238.025. |
docs/explanation/release_notes.md |
Adds bug-fix entry for the public workspace activation 403. |
.gitignore |
Updates ignore pattern for tmp_images. |
docs/images/workflow-retention_policy.png |
Adds/updates workflow image asset. |
docs/images/workflow-admin_settings_updates.png |
Adds/updates workflow image asset. |
paullizer
commented
Feb 24, 2026
Collaborator
Author
paullizer
left a comment
There was a problem hiding this comment.
looks good to me
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bug Fixes
/api/public_workspaces/setActiveendpoint that only allowed owners, admins, and document managers — even though public workspaces are intended to be accessible to all authenticated users for chatting.setActiveendpoint; the route still requires authentication (@login_required,@user_required) and the public workspaces feature flag (@enabled_required).route_backend_public_workspaces.py,api_set_active_public_workspace)