Jump to content

Does it make sense to use ACL?


Sorata_Kanda

Recommended Posts

ACLs are uniform and convenient - and integrate very well between multiple resources (especially community resources), while custom permissions would likely require exports, and thus can become broken if the permissions resource isn't turned on in time, for example. If you use the default MTA account system, there's no reason not to use ACLs. If you have your own accounts system, it's entirely up to you, but ACL integration is useful, especially due to being separate from the database -- if someone makes unauthorised database changes, ACLs are unaffected, and vice versa, when ACLs are changed, the database remains unaffected.

  • Like 1
Link to comment
  • Moderators

In my opinion it is far more (beginner) user friendly.

If you were to use a database as basis:

- Everybody has to learn how to work with table relations.

- Everybody needs a database edit tool before anybody in the server can be admin.

 

 

I understand that you want more, but the [end user] is...

 

Link to comment
On 25/12/2018 at 19:50, IIYAMA said:

In my opinion it is far more (beginner) user friendly.

If you were to use a database as basis:

- Everybody has to learn how to work with table relations.

- Everybody needs a database edit tool before anybody in the server can be admin.

  

 

I understand that you want more, but the [end user] is...

 

My problem is that I probably have to rely on MTA's account system if I really want to use ACL. It seems practical, but I don't know if it's ideal to stick to MTA's account system. Something that I don't know is if I'm able to sync them to my database.

Link to comment
  • Moderators
1 hour ago, Sorata_Kanda said:

My problem is that I probably have to rely on MTA's account system if I really want to use ACL. It seems practical, but I don't know if it's ideal to stick to MTA's account system. Something that I don't know is if I'm able to sync them to my database.

I am also not using the MTA account system for players. As I want my database to be 100% complete + portable. If you are going to switch server, you need to move 2 databases. So I decided not do that. There were some unhappy staff players about it, as they had to login double... even so it felt like a valid decision.

If you want to make use of the MTA's account system, the username is most of the time used as the primary key for both databases.

 

Do you need the account system and ACL?

  • The account system is useful for registering staff.
  • The ACL is useful for setting the rights of for staff.
  • The account system is making use of the ACL.

Yes, unless you want to build up a whole `staff rights system` by yourself.

 

Do you need it for players?

No, unless you want players to use the /login and /register commands.

 

Edited by IIYAMA
Link to comment
9 hours ago, IIYAMA said:

I am also not using the MTA account system for players. As I want my database to be 100% complete + portable. If you are going to switch server, you need to move 2 databases. So I decided not do that. There were some unhappy staff players about it, as they had to login double... even so it felt like a valid decision.

If you want to make use of the MTA's account system, the username is most of the time used as the primary key for both databases.

 

Do you need the account system and ACL?

  • The account system is useful for registering staff.
  • The ACL is useful for setting the rights of for staff.
  • The account system is making use of the ACL.

Yes, unless you want to build up a whole `staff rights system` by yourself.

 

Do you need it for players?

No, unless you want players to use the /login and /register commands.

 

I sort of made my own 'staff system', but I'm a little bit unhappy with it, as I have to export all functions I need to in order check if a player is an admin or not. Furthermore, I'm not sure if having MTA account + ACL would create a security risk as the permissions are rather tied to a MTA account instead of my custom account system, thus making it possible for someone to steal credentials of the MTA account without having them additionally logged in into the account that is associated with the MTA account to be stolen.

Guess I need to take a look at ACL. Maybe you can revoke permissions for normal players to log in into MTA accounts, as they don't need to do it.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...