summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected700/application.xml
diff options
context:
space:
mode:
authorxue <>2007-09-11 02:09:27 +0000
committerxue <>2007-09-11 02:09:27 +0000
commit269c9a0010c2495db961c185e83fd52b33b04d73 (patch)
treea17692a7e974b103ca679606051b20472e9129e1 /tests/FunctionalTests/tickets/protected700/application.xml
parentf5fa9b2249423f89f76b24a21d3014234b7f60f6 (diff)
Fixed #692, #700.
Diffstat (limited to 'tests/FunctionalTests/tickets/protected700/application.xml')
-rw-r--r--tests/FunctionalTests/tickets/protected700/application.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected700/application.xml b/tests/FunctionalTests/tickets/protected700/application.xml
new file mode 100644
index 00000000..cb00aae3
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected700/application.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application id="Ticket700Tests" Mode="Debug">
+<paths>
+ <using namespace="Application.common.*" />
+</paths>
+
+<services>
+ <service id="page" class="TPageService" BasePageClass="Application.common.BasePage">
+ <modules>
+ <module id="users" class="System.Security.TUserManager" PasswordMode="Clear">
+ <user name="AdminUser" password="demo" />
+ <user name="NormalUser" password="demo" />
+ <role name="admin" users="AdminUser" />
+ <role name="user" users="NormalUser" />
+ </module>
+ <module id="auth" class="System.Security.TAuthManager" UserManager="users" LoginPage="UserLogin" />
+ </modules>
+
+ <authorization>
+ <allow pages="Home" users="*" />
+ <deny pages="admin.*" users="?" />
+ <deny pages="content.*" users="*" />
+ <allow users="*" />
+ </authorization>
+
+ <pages MasterClass="Application.layout.MainLayout" Param1="Set at app config" Param5="Set at app config">
+ <page id="Home" Param2="Set at app config" />
+ <page id="admin.Home" Param3="Set at app config" Param4="Set at app config" />
+ </pages>
+ </service>
+</services>
+</application>