Hi all,
My team is running a self-hosted n8n instance on AWS, we recently upgraded to 2.9.3.
I’ve found that n8n Admin user (Host user as well) is not able to unpublish the workflow that was published by other users.
What is the error message (if any)?
On Workflows List page, when Admin user is clicking on Unpublish other user workflow, get this error:
Workflow could not be deactivated:
User is missing a scope required to perform this action
Since Admin user have scope to view, run and publish workflows created by other users, I just expected that Admin user can unpublish workflows as well.
Since you’re running queue mode on Kubernetes, double check that your main instance and all worker nodes are on the exact same n8n version. There was a very similar bug reported in Regression (2.3.5+): Owner with global permissions cannot publish any workflow · Issue #24484 · n8n-io/n8n · GitHub where the owner couldn’t publish workflows at all, and it turned out to be a version mismatch between components. Even a minor difference can cause scope validation to break because the permission definitions change between versions. If everything is confirmed on 2.9.3 and it still happens then it’s worth opening a new GitHub issue since admin users should definitely be able to unpublish any workflow.