Setting user rights in DokuWiki: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 9: Line 9:
設定權限於 Namespace *
設定權限於 Namespace *
* 群組 ALL: 具備讀取權限
* 群組 ALL: 具備讀取權限
* 群組 user: 具備讀取權限 編輯頁面 新增頁面 上傳圖檔 等權限
* 群組 user(註冊的使用者): 具備讀取權限 編輯頁面 新增頁面 上傳圖檔 等權限


file: conf/ acl.auth.php
file: conf/ acl.auth.php
<pre>
<pre>
*      @ALL        1
*      @ALL        1
* @user     8
* @user 8
</pre>
 
 
=== 狀況: 有登錄的特定群組使用者才能編輯頁面 ===
設定權限於 Namespace *
* 群組 ALL: 僅能讀取首頁
* 群組 user: 僅能讀取首頁
* 群組 group_a:具備讀取權限 編輯頁面 新增頁面 上傳圖檔 等權限
 
file: conf/ acl.auth.php
<pre>
start @ALL 1
* @ALL 0
* @user 0
* @group_a 8
</pre>
</pre>


[[Category:DokuWiki]]
[[Category:DokuWiki]]

Revision as of 16:25, 3 August 2006

<< DokuWiki[1]

DokuWiki v.2006-03-09+



設定權限控制清單(ACL)

狀況: 有登錄的使用者才能編輯頁面

設定權限於 Namespace *

  • 群組 ALL: 具備讀取權限
  • 群組 user(註冊的使用者): 具備讀取權限 編輯頁面 新增頁面 上傳圖檔 等權限

file: conf/ acl.auth.php

*       @ALL        1
*	@user  8


狀況: 有登錄的特定群組使用者才能編輯頁面

設定權限於 Namespace *

  • 群組 ALL: 僅能讀取首頁
  • 群組 user: 僅能讀取首頁
  • 群組 group_a:具備讀取權限 編輯頁面 新增頁面 上傳圖檔 等權限

file: conf/ acl.auth.php

start	@ALL	1
*	@ALL	0
*	@user	0
*	@group_a	8