Acl: Difference between revisions
Jump to navigation
Jump to search
(Created page with "'''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...") |
No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
'''ACL''' or '''Access Control List''' is a set of rights grouped together to create a list, they are defined in the [[Access Control List|ACL.xml]] file as <acl> nodes. These ACLs can then be added to certain [[ | '''ACL''' or '''Access Control List''' is a set of rights grouped together to create a list, they are defined in the [[Access Control List|ACL.xml]] file as <acl> nodes. These ACLs can then be added to certain [[Aclgroup|ACL Groups]] to grant or deny these groups specified permissions or acces to server scripting functions defined in the ACL. | ||
Example of an ACL: | Example of an ACL: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
Line 11: | Line 11: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
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. | 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== | |||
*[[aclCreate]] | |||
*[[aclDestroy]] | |||
*[[aclGet]] | |||
*[[aclGetName]] | |||
*[[aclGetRight]] | |||
*[[aclSetRight]] | |||
*[[aclList]] | |||
*[[aclListRights]] | |||
*[[aclRemoveRight]] | |||
[[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.