Remove all password-related pages from X.net
[platal.git] / modules / xnetlists.php
index dea081b..c0eaa38 100644 (file)
@@ -31,20 +31,20 @@ class XnetListsModule extends ListsModule
             '%grp/lists'              => $this->make_hook('lists',    AUTH_MDP,    'groupmember'),
             '%grp/lists/create'       => $this->make_hook('create',   AUTH_MDP,    'groupmember'),
 
-            '%grp/lists/members'      => $this->make_hook('members',  AUTH_COOKIE, 'user'),
-            '%grp/lists/csv'          => $this->make_hook('csv',      AUTH_COOKIE, 'user'),
-            '%grp/lists/annu'         => $this->make_hook('annu',     AUTH_COOKIE, 'user'),
-            '%grp/lists/archives'     => $this->make_hook('archives', AUTH_COOKIE, 'user'),
+            '%grp/lists/members'      => $this->make_hook('members',  AUTH_COOKIE, 'groups'),
+            '%grp/lists/csv'          => $this->make_hook('csv',      AUTH_COOKIE, 'groups'),
+            '%grp/lists/annu'         => $this->make_hook('annu',     AUTH_COOKIE, 'groups'),
+            '%grp/lists/archives'     => $this->make_hook('archives', AUTH_COOKIE, 'groups'),
             '%grp/lists/archives/rss' => $this->make_hook('rss',      AUTH_PUBLIC),
 
-            '%grp/lists/moderate'     => $this->make_hook('moderate', AUTH_MDP,    'user'),
-            '%grp/lists/admin'        => $this->make_hook('admin',    AUTH_MDP,    'user'),
-            '%grp/lists/options'      => $this->make_hook('options',  AUTH_MDP,    'user'),
-            '%grp/lists/delete'       => $this->make_hook('delete',   AUTH_MDP,    'user'),
+            '%grp/lists/moderate'     => $this->make_hook('moderate', AUTH_MDP,    'groups'),
+            '%grp/lists/admin'        => $this->make_hook('admin',    AUTH_MDP,    'groups'),
+            '%grp/lists/options'      => $this->make_hook('options',  AUTH_MDP,    'groups'),
+            '%grp/lists/delete'       => $this->make_hook('delete',   AUTH_MDP,    'groups'),
 
-            '%grp/lists/soptions'     => $this->make_hook('soptions', AUTH_MDP,    'user'),
-            '%grp/lists/check'        => $this->make_hook('check',    AUTH_MDP,    'user'),
-            '%grp/lists/sync'         => $this->make_hook('sync',     AUTH_MDP,    'user'),
+            '%grp/lists/soptions'     => $this->make_hook('soptions', AUTH_MDP,    'groups'),
+            '%grp/lists/check'        => $this->make_hook('check',    AUTH_MDP,    'groups'),
+            '%grp/lists/sync'         => $this->make_hook('sync',     AUTH_MDP,    'groups'),
 
             '%grp/alias/admin'        => $this->make_hook('aadmin',   AUTH_MDP,    'groupadmin'),
             '%grp/alias/create'       => $this->make_hook('acreate',  AUTH_MDP,    'groupadmin'),