Feature: Isolate workflows in multiuser mode#8944
Open
lstein wants to merge 8 commits intoinvoke-ai:mainfrom
Open
Feature: Isolate workflows in multiuser mode#8944lstein wants to merge 8 commits intoinvoke-ai:mainfrom
lstein wants to merge 8 commits intoinvoke-ai:mainfrom
Conversation
* Add per-user workflow isolation: migration 28, service updates, router ownership checks, is_public endpoint, schema regeneration, frontend UI Co-authored-by: lstein <111189+lstein@users.noreply.github.com> * feat: add shared workflow checkbox to Details panel, auto-tag, gate edit/delete, fix tests Co-authored-by: lstein <111189+lstein@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: lstein <111189+lstein@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: lstein <111189+lstein@users.noreply.github.com>
…mode (#116) Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: lstein <111189+lstein@users.noreply.github.com>
…ature/workflow-isolation-in-multiuser-mode
… mode (#120) * Disable Save when editing another user's shared workflow in multiuser mode Co-authored-by: lstein <111189+lstein@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: lstein <111189+lstein@users.noreply.github.com>
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.
Summary
This PR polishes off multiuser support in two ways:
In addition, this PR corrects a bug that allowed any user to run "sync models" and remove orphaned models. Only the administrator is allowed to do this.
Related Issues / Discussions
QA Instructions
Workflow Isolation
multiuser: trueand create two users: user1 and user2. If the user interface for managing users isn't yet merged in, use theinvoke-useraddCLI.user1 workflow sharedanduser1 workflow privateSplash Screens
I don't think this really needs to be tested, but if you wish to do so, you should start with a fresh root directory that has no models.
Sync Models button
Confirm that as a non-admin user, the Models page does not show the "Sync Models" button, and that this button reappears when logged in as an administrator.
Merge Plan
Simple merge.
Checklist
What's Newcopy (if doing a release after this PR)