Skip to content

[bug]: Non-admin users should not be able to synchronize models #117

Description

@lstein

Is there an existing issue for this problem?

  • I have searched the existing issues

Install method

Invoke's Launcher

Operating system

Linux

GPU vendor

Nvidia (CUDA)

GPU model

No response

GPU VRAM

No response

Version number

main branch

Browser

No response

System Information

No response

What happened

When logged in as a non-admin user, I visited the Models page and clicked on "Sync Models". The system offered to delete a bunch of orphaned models and I allowed it to do so.

What you expected to happen

Only the Administrator should be able to synchronize models. The sync button should be hidden when a non-admin user is logged in. In addition, the synchronize endpoint should require an Administrator login in multiuser mode.

How to reproduce the problem

No response

Additional context

No response

Discord username

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions