DokuWiki

It's better when it's simple

User Tools

Site Tools


acl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
acl [2017-08-01 10:30]
188.72.191.37 [Configuration and Setup]
acl [2017-10-28 10:52] (current)
Aleksandr
Line 1: Line 1:
-====== Access Control Lists (ACL) ======+====== Access Control Lists (ACL)======
  
 [[DokuWiki]] --- like most wikis --- is very open by default. Everyone is allowed to create, edit and delete pages. However ​sometimes it makes sense to restrict access to certain or all pages. This is when the //Access Control List// (ACL) comes into play. This page gives an overview of how ACLs work in DokuWiki and how they are configured. [[DokuWiki]] --- like most wikis --- is very open by default. Everyone is allowed to create, edit and delete pages. However ​sometimes it makes sense to restrict access to certain or all pages. This is when the //Access Control List// (ACL) comes into play. This page gives an overview of how ACLs work in DokuWiki and how they are configured.
  
 +{{:​aclexample.png?​400|}}
  
 ===== Configuration and Setup =====  ===== Configuration and Setup ===== 
Line 8: Line 9:
 ACLs can be enabled in the [[installer]] and an initial ACL policy is set there as well. To manually enable ACLs, switch on the [[config:​useacl]] option and create a copy of the example files '​​'​​conf/​​acl.auth.php.dist'​​'​​ and '​​'​​conf/​​users.auth.php.dist'​​'​.​ Rename the files to '​​'​​conf/​​acl.auth.php'​​'​​ and '​​'​​conf/​​users.auth.php'​​'​​ respectively. ACLs can be enabled in the [[installer]] and an initial ACL policy is set there as well. To manually enable ACLs, switch on the [[config:​useacl]] option and create a copy of the example files '​​'​​conf/​​acl.auth.php.dist'​​'​​ and '​​'​​conf/​​users.auth.php.dist'​​'​.​ Rename the files to '​​'​​conf/​​acl.auth.php'​​'​​ and '​​'​​conf/​​users.auth.php'​​'​​ respectively.
  
-sdsds 
 ==== See also ===== ==== See also =====
  
Line 15: Line 15:
   * Config option [[config:​useacl]] -- enable ACL usage   * Config option [[config:​useacl]] -- enable ACL usage
   * Config option [[config:​superuser]] -- setup superusers with ACL granting rights   * Config option [[config:​superuser]] -- setup superusers with ACL granting rights
-  * Config option ​**openregister** -- allows you to disable open registration+  * Config option ​[[config:openregister]] -- allows you to disable open registration ​FIXME
   * Config option [[config:​defaultgroup]] -- the default group to which new users are added   * Config option [[config:​defaultgroup]] -- the default group to which new users are added
   * [[plugin:​usermanager|User Manager]] -- managing users   * [[plugin:​usermanager|User Manager]] -- managing users
Line 51: Line 51:
     * by selecting a known group or user from the dropdown menu     * by selecting a known group or user from the dropdown menu
     * or by selecting "​User:"​ or "​Group:"​ and entering the group or user name in the field     * or by selecting "​User:"​ or "​Group:"​ and entering the group or user name in the field
-  - set the appropriate ​permission+  - set the appropriate ​permissions
  
 Existing rules can be modified or deleted in the table at the bottom of the ACL manager. Existing rules can be modified or deleted in the table at the bottom of the ACL manager.
acl.1501576245.txt.gz · Last modified: 2017-08-01 10:30 by 188.72.191.37