stashapp / stash

An organizer for your porn, written in Go. Documentation: https://docs.stashapp.cc
https://stashapp.cc/
GNU Affero General Public License v3.0
9.24k stars 794 forks source link

[Feature] Multiple Users with Permissions #2337

Open richardfoltin opened 2 years ago

richardfoltin commented 2 years ago

Is your feature request related to a problem? Please describe. I would like to have my videos at a safe place. So my idea is that I would create 2 accounts for myself; an admin and a user. User account credentials are saved in the browser thus it is easy to access the videos. Admin account is only used if organinizing if needed.

Describe the solution you'd like I would like to have the possiblity to have multiple accouns and to configure the permissions that an account can have. Especially in case of important features like Deleting videos.

QxxxGit commented 2 years ago

I think multiple users with a permissions system could be pretty cool for Stash.

You could possibly see a wide array of uses if it's within the scope of the devs vision for Stash. Amateur/professionals could host their own install, allowing subscribers under a user role to see specific scenes/images/galleries. You would probably see some tube sites start using Stash to host content. Even on a local network, user permissions would be useful. My initial thoughts:

Of course something of this depth would be much further down the road; but I think it's worth getting ideas written out in advance.

kermieisinthehouse commented 2 years ago

You would probably see some tube sites start using Stash to host content.

I think that, partially, using sqlite, and primarily, reading directly from block storage means that this will never scale past 25 users. It would be a huge rewrite to make stash "scalable"

RRocks01 commented 2 years ago

I came here to see if this was possible, I just wanted to create permissions for my wife, and ideally let her have her own "like" count, and more importantly keep mine private and library settings. Would be nice to restrict content too.

WithoutPants commented 2 years ago

This is something I'd like to add at some point. As others have pointed out, it will require a substantial amount of effort.

sleetx commented 2 years ago

A multi-user environment would be great. We'll need a place in the settings where accounts can be managed. Plus a minimum of two assignable roles: admin and user. Admin is what we have now. Here are some requirements for a limited "user" role that is mostly read-only:

Access restrictions:

Things that should be unique to each user account (rather than globally set):

holly-hacker commented 2 years ago

A single read-only user in addition to the admin user may also serve a lot of usecases, and would require significantly less effort to implement.

skier233 commented 1 year ago

+1

byertsy commented 1 year ago

+1

DogmaDragon commented 1 year ago

@byertsy leave 👍 or 👎 on the first post instead of +1 and other upvote comments.

Mlitz commented 10 months ago

Any Update on this?

rohitghali commented 9 months ago

Any plans to implement this? Doesn't have to be scalable initially. Few users for local use would be sufficient. Kind of like what jellyfin implemented.

WithoutPants commented 9 months ago

Any plans to implement this? Doesn't have to be scalable initially. Few users for local use would be sufficient. Kind of like what jellyfin implemented.

This is in the roadmap (which is not currently published) and I've added it to the backlog to signify this. I have a WIP branch if someone wants to pick up the work, but I've got a number of higher priority things to work on before I can properly implement this.

Blabss0 commented 9 months ago

Would be amazing to have this feature

einfachJens commented 3 months ago

+1

TheZitroX commented 1 week ago

+1

TheZitroX commented 1 week ago

3y no Multi User?

Shadchamp commented 1 week ago

3y no Multi User?

Because of you!!! >:#

But fr fr, I know, I'm so sad, I wish the Plex integration was better:(