summaryrefslogtreecommitdiff
path: root/demos/chat/protected/pages/config.xml
diff options
context:
space:
mode:
Diffstat (limited to 'demos/chat/protected/pages/config.xml')
-rw-r--r--demos/chat/protected/pages/config.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/demos/chat/protected/pages/config.xml b/demos/chat/protected/pages/config.xml
new file mode 100644
index 00000000..c9fbdaae
--- /dev/null
+++ b/demos/chat/protected/pages/config.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+
+ <modules>
+ <module id="users" class="ChatUserManager" />
+ <module id="auth" class="TAuthManager" UserManager="users" LoginPage="Login" />
+ </modules>
+
+ <authorization>
+ <allow pages="Login" users="?" />
+ <allow roles="normal" />
+ <deny users="*" />
+ </authorization>
+
+</configuration> \ No newline at end of file