Setting user rights in DokuWiki: Difference between revisions

Jump to navigation Jump to search
no edit summary
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]]

Navigation menu