Convoy Trucking

Server related => Suggestions => Topic started by: Joshy on June 05, 2016, 17:35

Title: Club permissions / ranks overhaul
Post by: Joshy on June 05, 2016, 17:35
This is a long and fairly detailed post (sorry I got carried away) - the tl;dr is to allow clubs to make their own ranks, each with their own set of permissions. See the example below.


Let's start by describing the current system. I think this is how it's set up atm (it's been awhile since I've done anything to do with clubs (SAFA stopped operations a long time ago)). Let's hope I covered most things:

Founder - has all permissions from leader +

Leader - has all permissions from staff +

Staff - has all permissions from members +

Member

This is a good enough system only if you can trust your club leaders / staff. Otherwise these people can do things such as:
In the event of any of these occurring, the founder / leaders are blamed for trusting someone bad and admins will not do anything about it, but the club system does not allow leaders to finely control permissions for their members so for example, if they want someone to buy club vehicle they have to promote them to leader, allowing unnecessary permissions like club member management. This violates the principle of least privilege (yes this is a computer science term but it's still relevant) - users should only be allowed to do the stuff that they actually need, and not the things they don't need.


There's a few ways around this... I will say that I feel like the club system should be re-written from the ground up, with this idea being the very start of things (since you should be able to add permissions later on)

In addition to this, add more permissions:


Example of how this could be set up
A club has the following ranks:

As you can tell... this may be the start to clubs becoming companies. I personally have no objections to that if it works well.


Counter-arguments
Some might say this is way too complicated - to that I say that the current system should remain (leader/staff/member) and then founders can use the permission system only if they want to. In addition, this should be implemented on the website since it's a lot easier to do this on the web rather than in-game.

Some might say this isn't needed - I feel it's needed since imo the club system needs a revamp anyway and clubs should have better controls who does what, otherwise you end up with situations like: http://www.forum.convoytrucking.net/index.php?topic=54196.0

Scripters might say this is too complicated to code - k yes it requires more database tables / fields - but if that's stopping you then many other suggestions are pretty much out of reach as well, so I'd say it's about time that you learn CREATE/ALTER TABLE syntax and how to use the gamemode migrations system. I very much suggest rewriting the club system though, it will be easier than trying to adapt the current code to this system.


I don't really blame you for not reading the entire post - this is just my vision of the proposed idea
Fun fact: 16 [list]s and 56 [li]st elements were used in this post.
Mfw this is 1126 words long... I've written university essays shorter than this
Title: Re: Club permissions / ranks overhaul
Post by: UncleDrew on June 05, 2016, 18:09
what if founder can allow and not allow leaders to buy vehicle?
what if he donate 500k to the club? and bought a swat tank. its so unfair to the club (specially with base). why? coz swat tank coasted 10 mil and u still need to renew your base. so the founder can allow or not allow the leaders to buy vehicles.
For Example:
Founder:Gen.McMuffin$ --> Leader:Gen.McDonuts( Allow to buy vehicles/dont allow to buy vehicle) (for clubs only.)
so that this situation wont ever happen. AGAIN. : http://www.forum.convoytrucking.net/index.php?topic=54196.0
Title: Amazing mate!
Post by: AviatorAysar on June 05, 2016, 18:09
Bro just a question??

Why the hell did you resign??? ::) ::) ::)

Why????

I know is today's news paper, but I read every single word, and accept and agreed with every single point you said..

I was coming to forum to new topic in complaints for david problem by saying; since admins are not responsible people r taking advantage, so why dont we make agreements, if leaders dis follow them they got punished as scamming..


but this is much better, i didnt suggest it bcz ik what their answers will beee and how they will be, but I wish they answer you the same, for your old position  :-* :-*  Agree +1
Title: Re: Amazing mate!
Post by: UncleDrew on June 05, 2016, 18:18
Quote from: CesarVialpando$$ on June 05, 2016, 18:09
Bro just a question??

Why the hell did you resign??? ::) ::) ::)

Why????

I know is today's news paper, but I read every single word, and accept and agreed with every single point you said..

I was coming to forum to new topic in complaints for david problem by saying; since admins are not responsible people r taking advantage, so why dont we make agreements, if leaders dis follow them they got punished as scamming..


but this is much better, i didnt suggest it bcz ik what their answers will beee and how they will be, but I wish they answer you the same, for your old position  :-* :-*  Agree +1
remember, Joshy retired coz of job.
Title: Re: Club permissions / ranks overhaul
Post by: Joshy on June 05, 2016, 18:29
Quote from: Gen.McMuffin$ on June 05, 2016, 18:09
what if founder can allow and not allow leaders to buy vehicle?
what if he donate 500k to the club? and bought a swat tank. its so unfair to the club (specially with base). why? coz swat tank coasted 10 mil and u still need to renew your base. so the founder can allow or not allow the leaders to buy vehicles.
For Example:
Founder:Gen.McMuffin$ --> Leader:Gen.McDonuts( Allow to buy vehicles/dont allow to buy vehicle) (for clubs only.)
so that this situation wont ever happen. AGAIN. : http://www.forum.convoytrucking.net/index.php?topic=54196.0
Using this system you could set leaders to not be able to purchase club vehicles (so only founder can buy them), or allow them to request to purchase a vehicle (so the founder can approve each request manually to stop anyone buying SWAT tanks (especially since they are a massive waste of money)).

Since the system requires someone to have full trust (like administrators on forum) the founder can do absolutely anything though, nothing can be done about that - it is the founder's club after all.

To make the SWAT tank situation fair, you could say "you must donate $x before you can buy vehicle for $x" - this would be a good club rule however the player may as well buy the vehicle themselves and use /sharevehicle.
Title: Re: Club permissions / ranks overhaul
Post by: AviatorAysar on June 05, 2016, 19:20
No u said first people apply application, we can accept application, with have a field to write amount, so whenever member can buy it but after donation application expired in 5 days for example
Title: Re: Club permissions / ranks overhaul
Post by: UncleDrew on June 05, 2016, 19:21
Quote from: Joshy on June 05, 2016, 18:29
Quote from: Gen.McMuffin$ on June 05, 2016, 18:09
what if founder can allow and not allow leaders to buy vehicle?
what if he donate 500k to the club? and bought a swat tank. its so unfair to the club (specially with base). why? coz swat tank coasted 10 mil and u still need to renew your base. so the founder can allow or not allow the leaders to buy vehicles.
For Example:
Founder:Gen.McMuffin$ --> Leader:Gen.McDonuts( Allow to buy vehicles/dont allow to buy vehicle) (for clubs only.)
so that this situation wont ever happen. AGAIN. : http://www.forum.convoytrucking.net/index.php?topic=54196.0
Using this system you could set leaders to not be able to purchase club vehicles (so only founder can buy them), or allow them to request to purchase a vehicle (so the founder can approve each request manually to stop anyone buying SWAT tanks (especially since they are a massive waste of money)).

Since the system requires someone to have full trust (like administrators on forum) the founder can do absolutely anything though, nothing can be done about that - it is the founder's club after all.

To make the SWAT tank situation fair, you could say "you must donate $x before you can buy vehicle for $x" - this would be a good club rule however the player may as well buy the vehicle themselves and use /sharevehicle.
/unsharevehicle?
Title: Re: Club permissions / ranks overhaul
Post by: AviatorAysar on June 12, 2016, 17:14
Quote from: PreHistoricPiggy on June 05, 2016, 19:21
Quote from: Joshy on June 05, 2016, 18:29
Quote from: Gen.McMuffin$ on June 05, 2016, 18:09
what if founder can allow and not allow leaders to buy vehicle?
what if he donate 500k to the club? and bought a swat tank. its so unfair to the club (specially with base). why? coz swat tank coasted 10 mil and u still need to renew your base. so the founder can allow or not allow the leaders to buy vehicles.
For Example:
Founder:Gen.McMuffin$ --> Leader:Gen.McDonuts( Allow to buy vehicles/dont allow to buy vehicle) (for clubs only.)
so that this situation wont ever happen. AGAIN. : http://www.forum.convoytrucking.net/index.php?topic=54196.0
Using this system you could set leaders to not be able to purchase club vehicles (so only founder can buy them), or allow them to request to purchase a vehicle (so the founder can approve each request manually to stop anyone buying SWAT tanks (especially since they are a massive waste of money)).

Since the system requires someone to have full trust (like administrators on forum) the founder can do absolutely anything though, nothing can be done about that - it is the founder's club after all.

To make the SWAT tank situation fair, you could say "you must donate $x before you can buy vehicle for $x" - this would be a good club rule however the player may as well buy the vehicle themselves and use /sharevehicle.
/unsharevehicle?


Muffin sharing and unsharing have nothing to do with scaming, because he will be wastin his own funds!! he share it, club pays nothing, he unshare it club pays nothing..

Vehicle bought from club funds cant be unshared :)
Title: Re: Club permissions / ranks overhaul
Post by: Xero on June 12, 2016, 20:03
I like the vehicle management idea, make it so if someone wants to buy a vehicle they have to be approved by founder and/or leader so they know it's being purchased for a reason given by the member making the purchase and not just a club fund waster.
Title: Wht happened
Post by: AviatorAysar on October 08, 2016, 19:37
http://www.forum.convoytrucking.net/index.php?topic=54210.msg322454#msg322454

How is it ended with this post. R u going to add it who supports it?
Title: Re: Club permissions / ranks overhaul
Post by: ako on December 08, 2016, 15:08
+1 for all.

something new would be good too as well as regulations in a club. Can't think of much as Joshy have brainstormed about this  :happycmas:
Title: Re: Club permissions / ranks overhaul
Post by: Ari on December 08, 2016, 16:13
YES YES YES YES  ^-^ ^-^ ^-^ ^-^
Title: Re: Club permissions / ranks overhaul
Post by: Deff on December 08, 2016, 23:55
I like the idea of completely removing the hard-coded club ranks.
This might also give more innovative ideas for names of club ranks and more innovative clubs.

+1


Title: Re: Wht happened
Post by: Ethan on December 09, 2016, 01:34
[fail]
Quote from: DeadWalker on October 08, 2016, 19:37
http://www.forum.convoytrucking.net/index.php?topic=54210.msg322454#msg322454
How is it ended with this post. R u going to add it who supports it?
[/fail]



all you did is link this exact topic..why?
Title: Re: Club permissions / ranks overhaul
Post by: Mr.majmun on December 09, 2016, 07:04
That's a good idea. I like it, we need something new  :like: