Setting user rights in DokuWiki: Difference between revisions
Jump to navigation
Jump to search
m (1個修訂) |
m (Text replacement - "http://wiki.splitbrain.org/" to "https://www.dokuwiki.org/") |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
<< [[DokuWiki]][ | << [[DokuWiki]][https://www.dokuwiki.org/] | ||
{{Wiki version| wiki_engine=DokuWiki | version=2006-03-09 }} | {{Wiki version| wiki_engine=DokuWiki | version=2006-03-09 }} | ||
* enable the [ | * enable the [https://www.dokuwiki.org/wiki%3Aacl Access Control](ACL) of DokuWiki | ||
Latest revision as of 23:32, 19 February 2022
| DokuWiki | v.2006-03-09+ |
- enable the Access Control(ACL) of DokuWiki
設定權限控制清單(ACL)
狀況1: 有登錄的使用者才能編輯頁面[edit]
設定權限於 Namespace *
- 群組 ALL: 具備讀取權限
- 群組 user(註冊的使用者): 具備讀取權限 編輯頁面 新增頁面 上傳圖檔 等權限
file: conf/ acl.auth.php
* @ALL 1 * @user 8
狀況2: 有登錄的特定群組使用者才能編輯頁面[edit]
設定權限於 Namespace *
- 群組 ALL: 僅能讀取首頁
- 群組 user: 僅能讀取首頁
- 群組 group_a:具備讀取權限 編輯頁面 新增頁面 上傳圖檔 等權限
file: conf/ acl.auth.php
start @ALL 1 * @ALL 0 * @user 0 * @group_a 8
狀況3: 有登錄的特定群組使用者才能編輯該群組所屬頁面[edit]
設定權限於 Namespace *
- 群組 ALL: 僅能讀取首頁
- 群組 user: 能讀取所有頁面
- 群組 group_a:具備在namespace_a下所有頁面的讀取 編輯頁面 新增頁面 上傳圖檔 等權限
file: conf/ acl.auth.php
start @ALL 1 * @ALL 0 * @user 1 namespace_a:* @group_a 8