[Openupload-svn-update] SF.net SVN: openupload:[163] trunk/sql
Status: Beta
Brought to you by:
tsdogs
|
From: <ts...@us...> - 2008-11-20 18:39:49
|
Revision: 163
http://openupload.svn.sourceforge.net/openupload/?rev=163&view=rev
Author: tsdogs
Date: 2008-11-20 18:39:47 +0000 (Thu, 20 Nov 2008)
Log Message:
-----------
Fix acl accordingly with INSTALL documentation.
Modified Paths:
--------------
trunk/sql/mysql/3_mode_private.sql
trunk/sql/mysql/3_mode_restricted.sql
trunk/sql/pgsql/3_mode_private.sql
trunk/sql/pgsql/3_mode_restricted.sql
trunk/sql/txt/modes/acl_private.txt
trunk/sql/txt/modes/acl_restricted.txt
Modified: trunk/sql/mysql/3_mode_private.sql
===================================================================
--- trunk/sql/mysql/3_mode_private.sql 2008-11-20 18:33:02 UTC (rev 162)
+++ trunk/sql/mysql/3_mode_private.sql 2008-11-20 18:39:47 UTC (rev 163)
@@ -4,8 +4,10 @@
INSERT INTO `acl` (`id`, `module`, `action`, `group_name`, `access`) VALUES(5, 'auth', 'register', '*', 'deny');
INSERT INTO `acl` (`id`, `module`, `action`, `group_name`, `access`) VALUES(6, 'auth', '*', 'unregistered', 'deny');
INSERT INTO `acl` (`id`, `module`, `action`, `group_name`, `access`) VALUES(7, 'auth', '*', '*', 'allow');
-INSERT INTO `acl` (`id`, `module`, `action`, `group_name`, `access`) VALUES(8, 'files', '*', 'unregistered', 'deny');
-INSERT INTO `acl` (`id`, `module`, `action`, `group_name`, `access`) VALUES(9, 'files', '*', '*', 'allow');
+INSERT INTO `acl` (`id`, `module`, `action`, `group_name`, `access`) VALUES(8, 'files', 'd', 'unregistered', 'allow');
+INSERT INTO `acl` (`id`, `module`, `action`, `group_name`, `access`) VALUES(9, 'files', 'g', 'unregistered', 'allow');
+INSERT INTO `acl` (`id`, `module`, `action`, `group_name`, `access`) VALUES(10, 'files', '*', 'unregistered', 'deny');
+INSERT INTO `acl` (`id`, `module`, `action`, `group_name`, `access`) VALUES(11, 'files', '*', '*', 'allow');
--
-- Dump dei dati per la tabella `plugin_acl`
Modified: trunk/sql/mysql/3_mode_restricted.sql
===================================================================
--- trunk/sql/mysql/3_mode_restricted.sql 2008-11-20 18:33:02 UTC (rev 162)
+++ trunk/sql/mysql/3_mode_restricted.sql 2008-11-20 18:39:47 UTC (rev 163)
@@ -1,7 +1,7 @@
--
-- Dump dei dati per la tabella `acl`
--
-INSERT INTO `acl` (`id`, `module`, `action`, `group_name`, `access`) VALUES(5, 'auth', 'register', '*', 'deny');
+INSERT INTO `acl` (`id`, `module`, `action`, `group_name`, `access`) VALUES(5, 'auth', 'register', '*', 'allow');
INSERT INTO `acl` (`id`, `module`, `action`, `group_name`, `access`) VALUES(6, 'auth', '*', 'unregistered', 'deny');
INSERT INTO `acl` (`id`, `module`, `action`, `group_name`, `access`) VALUES(7, 'auth', '*', '*', 'allow');
INSERT INTO `acl` (`id`, `module`, `action`, `group_name`, `access`) VALUES(8, 'files', 'd', 'unregistered', 'allow');
Modified: trunk/sql/pgsql/3_mode_private.sql
===================================================================
--- trunk/sql/pgsql/3_mode_private.sql 2008-11-20 18:33:02 UTC (rev 162)
+++ trunk/sql/pgsql/3_mode_private.sql 2008-11-20 18:39:47 UTC (rev 163)
@@ -4,8 +4,10 @@
INSERT INTO acl VALUES (5, 'auth', 'register', '*', 'deny');
INSERT INTO acl VALUES (6, 'auth', '*', 'unregistered', 'deny');
INSERT INTO acl VALUES (7, 'auth', '*', '*', 'allow');
-INSERT INTO acl VALUES (8, 'files', '*', 'unregistered', 'deny');
-INSERT INTO acl VALUES (9, 'files', '*', '*', 'allow');
+INSERT INTO acl VALUES (8, 'files', 'd', 'unregistered', 'allow');
+INSERT INTO acl VALUES (9, 'files', 'g', 'unregistered', 'allow');
+INSERT INTO acl VALUES (10, 'files', '*', 'unregistered', 'deny');
+INSERT INTO acl VALUES (11, 'files', '*', '*', 'allow');
--
-- Dump dei dati per la tabella `plugin_acl`
Modified: trunk/sql/pgsql/3_mode_restricted.sql
===================================================================
--- trunk/sql/pgsql/3_mode_restricted.sql 2008-11-20 18:33:02 UTC (rev 162)
+++ trunk/sql/pgsql/3_mode_restricted.sql 2008-11-20 18:39:47 UTC (rev 163)
@@ -1,7 +1,7 @@
--
-- Dump dei dati per la tabella acl
--
-INSERT INTO acl VALUES (5, 'auth', 'register', '*', 'deny');
+INSERT INTO acl VALUES (5, 'auth', 'register', '*', 'allow');
INSERT INTO acl VALUES (6, 'auth', '*', 'unregistered', 'deny');
INSERT INTO acl VALUES (7, 'auth', '*', '*', 'allow');
INSERT INTO acl VALUES (8, 'files', 'd', 'unregistered', 'allow');
Modified: trunk/sql/txt/modes/acl_private.txt
===================================================================
--- trunk/sql/txt/modes/acl_private.txt 2008-11-20 18:33:02 UTC (rev 162)
+++ trunk/sql/txt/modes/acl_private.txt 2008-11-20 18:39:47 UTC (rev 163)
@@ -2,9 +2,12 @@
1|*|*|admins|allow
2|admin|*|admins|allow
3|admin|*|*|deny
+4|auth|login|unregistered|allow
5|auth|register|*|deny
6|auth|*|unregistered|deny
7|auth|*|*|allow
-8|files|*|unregistered|deny
-9|files|*|*|allow
-10|auth|login|unregistered|allow
+8|files|d|unregistered|allow
+9|files|g|unregistered|allow
+10|files|*|unregistered|deny
+11|files|*|*|allow
+
Modified: trunk/sql/txt/modes/acl_restricted.txt
===================================================================
--- trunk/sql/txt/modes/acl_restricted.txt 2008-11-20 18:33:02 UTC (rev 162)
+++ trunk/sql/txt/modes/acl_restricted.txt 2008-11-20 18:39:47 UTC (rev 163)
@@ -4,7 +4,7 @@
3|admin|*|*|deny
4|auth|login|unregistered|allow
5|auth|register|*|deny
-6|auth|*|unregistered|deny
+6|auth|*|unregistered|allow
7|auth|*|*|allow
8|files|d|unregistered|allow
9|files|g|unregistered|allow
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|