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 revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
acl [2020-11-22 07:07] – old revision restored (2019-10-31 10:06) Aleksandracl [2021-11-05 23:18] – Added a minimal user file for manual configuration setting gerardnico
Line 7: Line 7:
 ===== Configuration and Setup =====  ===== Configuration and Setup ===== 
  
-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. 
  
 +
 +Example of a minimal ''​conf/​users.auth.php'' file for a user ''admin'' with the password ''admin''. If you use it, be sure to change the password afterwards.
 +
 +<file php conf/​users.auth.php>
 +# login:passwordhash:Real Name:email:groups,comma,separated
 +
 +admin:$2y$10$P5YH8uIM2uAE9snRq32yAuHMb4/XAzksFd5Cakqqtsw9BWeSsyLZq:admin:admin@admin.com:admin,user
 +</file>
 ==== See also ===== ==== See also =====
  
acl.txt · Last modified: 2024-01-13 11:44 by Aleksandr

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki