marzneshin / marzneshin

A fork of Marzban aiming for scalability
https://t.me/marzneshins
GNU Affero General Public License v3.0
161 stars 12 forks source link

[FEAT] User limit for admins #468

Open alfirovich opened 1 month ago

alfirovich commented 1 month ago

Description

Add a limit on the number of users created by other administrators

Suggested Solution

It would not be superfluous to add a limit on the maximum number of users created by other administrators

Alternatives

No response

Additional Context

No response

Krr0ptioN commented 1 month ago

Very good idea

73

khodedawsh commented 1 month ago

I thought this is a pretty good idea but after thinking it through I concluded there are no actual points in this unless there are limits to how much resource(traffic rn) the admin could allocate for each user. in that case traffic allocation would be limited. limiting the allocation is generally not a good idea since the admin could just merge all its users together and reset the traffic everyday. but I'm willing to discuss this further, you could try to prove me wrong.

m0x61h0x64i commented 1 month ago

we need device limit, but how?