Setting user rights in DokuWiki: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 48: | Line 48: | ||
[[Category: | [[Category:Wiki]] | ||
Revision as of 09:32, 27 March 2007
| DokuWiki | v.2006-03-09+ |
- enable the Access Control(ACL) of DokuWiki
設定權限控制清單(ACL)
狀況1: 有登錄的使用者才能編輯頁面
設定權限於 Namespace *
- 群組 ALL: 具備讀取權限
- 群組 user(註冊的使用者): 具備讀取權限 編輯頁面 新增頁面 上傳圖檔 等權限
file: conf/ acl.auth.php
* @ALL 1 * @user 8
狀況2: 有登錄的特定群組使用者才能編輯頁面
設定權限於 Namespace *
- 群組 ALL: 僅能讀取首頁
- 群組 user: 僅能讀取首頁
- 群組 group_a:具備讀取權限 編輯頁面 新增頁面 上傳圖檔 等權限
file: conf/ acl.auth.php
start @ALL 1 * @ALL 0 * @user 0 * @group_a 8
狀況3: 有登錄的特定群組使用者才能編輯該群組所屬頁面
設定權限於 Namespace *
- 群組 ALL: 僅能讀取首頁
- 群組 user: 能讀取所有頁面
- 群組 group_a:具備在namespace_a下所有頁面的讀取 編輯頁面 新增頁面 上傳圖檔 等權限
file: conf/ acl.auth.php
start @ALL 1 * @ALL 0 * @user 1 namespace_a:* @group_a 8