1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-10-31 14:10:08 +00:00

Adding ACL-Options

The implementation in PHP is missing right now
This commit is contained in:
Tim Düsterhus 2011-11-27 14:56:11 +01:00
parent 0a1c65db17
commit c39d34aadb
3 changed files with 22 additions and 0 deletions

8
acloptions.xml Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com/XSD/maelstrom/aclOption.xsd">
<import>
<option name="canEnter">
<objecttype>timwolla.wcf.chat.room</objecttype>
</option>
</import>
</data>

9
objectType.xml Normal file
View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/maelstrom/object-type.xsd">
<import>
<type>
<name>timwolla.wcf.chat.room</name>
<definitionname>com.woltlab.wcf.acl</definitionname>
</type>
</import>
</data>

View File

@ -18,6 +18,7 @@
<requiredpackages>
<requiredpackage minversion="2.0.0 Alpha 1">com.woltlab.wcf</requiredpackage>
<requiredpackage minversion="1.0.0 Alpha 1">com.woltlab.wcf.bbcode</requiredpackage>
<requiredpackage minversion="1.0.0 Alpha 1">com.woltlab.wcf.acl</requiredpackage>
</requiredpackages>
<instructions type="install">
@ -25,9 +26,11 @@
<instruction type="file">file.tar</instruction>
<instruction type="template">template.tar</instruction>
<instruction type="sql">install.sql</instruction>
<instruction type="objectType">objectType.xml</instruction>
<instruction type="option">option.xml</instruction>
<instruction type="pagemenu">pagemenu.xml</instruction>
<instruction type="templatelistener">templatelistener.xml</instruction>
<instruction type="aclOption">acloptions.xml</instruction>
</instructions>
<instructions type="update" fromversion="3.0.0 Alpha *">
@ -35,8 +38,10 @@
<instruction type="file">file.tar</instruction>
<instruction type="template">template.tar</instruction>
<instruction type="sql">install.sql</instruction>
<instruction type="objectType">objectType.xml</instruction>
<instruction type="option">option.xml</instruction>
<instruction type="pagemenu">pagemenu.xml</instruction>
<instruction type="templatelistener">templatelistener.xml</instruction>
<instruction type="aclOption">acloptions.xml</instruction>
</instructions>
</package>