Cassandra Posted June 23, 2012 Share Posted June 23, 2012 Hello Guys/Gals. I'm looking for an in-depth tutorial about ACL. I have already saw this https://wiki.multitheftauto.com/wiki/ACL Link to comment
BinSlayer1 Posted June 23, 2012 Share Posted June 23, 2012 well, you could also read the description of every acl function.. That guide you posted seems enough tho. What is it that you need to know about? Link to comment
Cassandra Posted June 23, 2012 Author Share Posted June 23, 2012 I want to know the difference between acl and group. Link to comment
Jaysds1 Posted June 23, 2012 Share Posted June 23, 2012 (edited) think of it like this, There's a police group and criminal group, the ACL is for rights, so if a criminal types in /arrest, you could make the script check if the criminal has a right to arrest a person, if they don't then you could output "sorry but you don't have the right to arrest anyone". I think this should be enough. EDIT: here's an example: > name="Police"> name="Police" /> > name="Criminal"> name="Criminal" /> > name="Police"> name="command.arrest" access="true" /> name="command.rob" access="false" /> > name="Criminal"> name="command.arrest" access="false" /> name="command.rob" access="true" /> >> Edited June 23, 2012 by Guest Link to comment
Cassandra Posted June 23, 2012 Author Share Posted June 23, 2012 think of it like this, There's a police group and criminal group,the ACL is for rights, so if a criminal types in /arrest, you could make the script check if the criminal has a right to arrest a person, if they don't then you could output "sorry but you don't have the right to arrest anyone". I think this should be enough. EDIT: here's an example: > name="Police"> name="Police" /> > name="Criminal"> name="Criminal" /> > name="Police"> name="command.arrest" access="true" /> > name="Criminal"> name="command.arrest" access="false" /> >> Yeah but why do I need a group for? Link to comment
Jaysds1 Posted June 23, 2012 Share Posted June 23, 2012 (edited) Well, the group should have a list of players that could use the commands, and if you want, they could have access to one of your resources (meaning they could use it in-game). Edited June 23, 2012 by Guest Link to comment
Cassandra Posted June 23, 2012 Author Share Posted June 23, 2012 Well, the group should have a list of players that could use the commands. Could you please elaborate your statement? Link to comment
Jaysds1 Posted June 23, 2012 Share Posted June 23, 2012 (edited) ok, the group is the main thing for ACL's, the group has players listed in it, so they could use the rights/acl's if there is no group then the ACL's would be nothing, which means the commands and access would basically be floating in thin air and nobody can't touch them. the Group has to have players that could access the rights/acl's, and if you want, they could access to a resource if you add any. Edited June 23, 2012 by Guest Link to comment
Cassandra Posted June 23, 2012 Author Share Posted June 23, 2012 ok, the group is the main thing for ACL's,the group has players listed in it, so they could use the rights/acl's if there is no group then the ACL's would be nothing, which means the commands and access would basically be floating in thin air and nobody can't touch them. Then what's the acl name doing? Link to comment
Jaysds1 Posted June 23, 2012 Share Posted June 23, 2012 The acl name is defined for the group(s) that should be able to use it, in the ACL, the rights/access are there so, if someone in another group tries to use this groups command/function, then it would either deny them or allow them to use it, it depends on what you want. Link to comment
Cassandra Posted June 23, 2012 Author Share Posted June 23, 2012 Wouldn't it be much simpler using this? > name="Police"> name="command.arrest" access="true" /> > name="Criminal"> name="command.arrest" access="false" /> >> Link to comment
Jaysds1 Posted June 23, 2012 Share Posted June 23, 2012 well, xml is kinda funny, I think it would be easier, but at the same time, xml also tries making us organized, it'll be more organized if it was in it's own place(sorry, didn't know what to say here)... Plus, the ACL is managed by the MTA Program, so if the program tries reading this, it'll be confused. Imagine all the rights in there with the players and resources, it'll look really messy. Link to comment
Cassandra Posted June 23, 2012 Author Share Posted June 23, 2012 well, xml is kinda funny,I think it would be easier, but at the same time, xml also tries making us organized, it'll be more organized if it was in it's own place(sorry, didn't know what to say here)... Plus, the ACL is managed by the MTA Program, so if the program tries reading this, it'll be confused. The ACL thingy is really confusing. More confusing than building the MTA system Link to comment
Jaysds1 Posted June 23, 2012 Share Posted June 23, 2012 I know what you mean, I got confused on the acl functions... It took me a month to find out how it works. I hope you learn more about ACL, if not, I could post more info on it. Link to comment
Cassandra Posted June 23, 2012 Author Share Posted June 23, 2012 I know what you mean, I got confused on the acl functions... It took me a month to find out how it works. I hope you learn more about ACL, if not, I could post more info on it. I will try to study it a bit by experimenting with it. If any problem, I will share it here. Link to comment
venny26 Posted April 4, 2019 Share Posted April 4, 2019 Hello, ACL stands for Access control list.Its work is giving permission for flexibility in file system.It works with UNIX file system.For more tutorial you have to visit the tutorial site.. Thanks... Link to comment
Sendy Posted April 4, 2019 Share Posted April 4, 2019 (edited) 1 hour ago, venny26 said: Hello, ACL stands for Access control list.Its work is giving permission for flexibility in file system.It works with UNIX file system.For more tutorial you have to visit the tutorial site.. Thanks... 7 years Edited April 4, 2019 by Sendy Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now