defaultpermissions.txt
来自「wiki建站资源 java编写的 很好用」· 文本 代码 · 共 33 行
TXT
33 行
This page contains default permissions for this Wiki. You use it by setting the variable "defaultpermissions" on the page, and using the standard notation, and separating the permissions using a semicolon (;). Note that this only works in the case you are keeping the wiki permissions on the page, using the included [PageAuthorizer] module.
Some examples follow.
The blanket permission "edit" always implies also upload and commenting permissions.
----
To make the Wiki open for everyone:
{{{
[{SET defaultpermissions='ALLOW view Guest;ALLOW edit Guest'}]
}}}
To make the Wiki open to read for everyone, but only editable by people who have logged in:
{{{
[{SET defaultpermissions='ALLOW view Guest;DENY edit Guest;ALLOW edit KnownPerson'}]
}}}
To make the Wiki closed for everyone except people who have logged in:
{{{
[{SET defaultpermissions='DENY view Guest;ALLOW view KnownPerson;DENY edit Guest;ALLOW edit KnownPerson'}]
}}}
----
Click on "Edit this page" to see the default permissions for this Wiki.
[{SET defaultpermissions='ALLOW view Guest;ALLOW edit Guest'}]
[{ALLOW view Guest}]
[{ALLOW edit Guest}]
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?