Acl: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 24: Line 24:


[[Category:Scripting Concepts]]
[[Category:Scripting Concepts]]
[[hu:acl]]

Latest revision as of 17:50, 14 December 2018

ACL or Access Control List is a set of rights grouped together to create a list, they are defined in the ACL.xml file as <acl> nodes. These ACLs can then be added to certain ACL Groups to grant or deny these groups specified permissions or acces to server scripting functions defined in the ACL. Example of an ACL:

<acl name="Example">
        <right name="general.ModifyOtherObjects" access="true" />
        <right name="function.startResource" access="true" />
        <right name="function.stopResource" access="true" />
        <right name="function.shutdown" access="false" />
        <right name="command.shutdown" access="false" />
</acl>

This creates ACL called Example and gives resources access to start/stop resources and modify other resources but denies access to shutting down the server. Players that are in group using this ACL will be denied access to shutdown command.

Related scripting functions