Coder Social home page Coder Social logo

Comments (7)

ankarhem avatar ankarhem commented on July 29, 2024 4

Can you assign this to me?

from overseerr.

ankarhem avatar ankarhem commented on July 29, 2024

What do you think of this spec? @sct @samwiseg0

Permission groups:
Users with settings permission can create/modify/delete them.
Users with user management permission can assign users a permission group.
If a permission group is deleted and a user had that permission group, it falls back on the permissions that are set for the user.
A permission group contains what permissions they have, and a quota.
Making user specific changes to quota / permissions will override the ones in the permission group.
Reapplying a permission group to a user will reset any user specific quota / permission settings.

Quotas:
Both the duration and number of requests are configurable.
A rolling quota. This means that the comparison is made for the previous X day period.
When the quota is maxed, a dialog window is presented when trying to request an item explaining that they have maxed out their quota.

from overseerr.

TheCatLady avatar TheCatLady commented on July 29, 2024

Is the common user really going to have so many users that permission groups are necessary? I feel like a default quota option would be sufficient for all but those who are hosting paid Plex shares...

Especially with the Bulk Edit feature, I don't think that permission groups are necessary.

from overseerr.

sct avatar sct commented on July 29, 2024

I kind of agree with @TheCatLady here. At least for the initial version of this. A configurable default rolling period and quotas. Then the ability to modify those per user (or bulk edit them).

I do like the idea of permission groups but the amount of work that will have to go into that versus just focusing on quotas is pretty immense. Let's get the feature out and look at maybe rolling them into groups in the future.

from overseerr.

ankarhem avatar ankarhem commented on July 29, 2024

from overseerr.

samwiseg0 avatar samwiseg0 commented on July 29, 2024

Permission groups:
Users with settings permission can create/modify/delete them.
Users with user management permission can assign users a permission group.
If a permission group is deleted and a user had that permission group, it falls back on the permissions that are set for the user.
A permission group contains what permissions they have, and a quota.
Making user specific changes to quota / permissions will override the ones in the permission group.
Reapplying a permission group to a user will reset any user specific quota / permission settings.

I agree with @sct and @TheCatLady. This can be a later down the road option. I just thought this would be nice for those that have quite a few users. For example, I don't impose limits on my family members or when I do they are much higher than other users. Doing that in one place would be a nice to have feature.

Quotas:
Both the duration and number of requests are configurable.

Yes

A rolling quota. This means that the comparison is made for the previous X day period.

Yes

When the quota is maxed, a dialog window is presented when trying to request an item explaining that they have maxed out their quota.

Yes. They should be able to see what they have available in their user page as well.

from overseerr.

github-actions avatar github-actions commented on July 29, 2024

🎉 This issue has been resolved in version 1.22.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

from overseerr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.