summaryrefslogtreecommitdiffstats
path: root/database
diff options
context:
space:
mode:
authorDries Buytaert2004-01-15 20:20:34 (GMT)
committerDries Buytaert2004-01-15 20:20:34 (GMT)
commitf3f76309cf52588dfcf35961e65eaa19051c8938 (patch)
tree908c8af0eac76d0e169e8930151c01aa6d9dcb34 /database
parent36c0e4d74569e7a12f80f849e30da04198c9b48c (diff)
- Added default permissiona to the MySQL and PosgreSQL database scheme to
prevent 404s. The MS SQL database scheme still needs to be updated ...
Diffstat (limited to 'database')
-rw-r--r--database/database.mysql2
-rw-r--r--database/database.pgsql2
2 files changed, 4 insertions, 0 deletions
diff --git a/database/database.mysql b/database/database.mysql
index a876a30..5befddb 100644
--- a/database/database.mysql
+++ b/database/database.mysql
@@ -577,6 +577,8 @@ INSERT INTO system VALUES ('modules/story.module','story','module','',1,0,0);
INSERT INTO system VALUES ('modules/taxonomy.module','taxonomy','module','',1,0,0);
INSERT INTO system VALUES ('themes/xtemplate/xtemplate.theme','xtemplate','theme','Internet explorer, Netscape, Opera',1,0,0);
INSERT INTO users (uid, name, mail, rid) VALUES ('0', '', '', '1');
+INSERT INTO permission VALUES (1,'access content',0);
+INSERT INTO permission VALUES (2,'access comments, access content, post comments, post comments without approval',0);
REPLACE variable SET name='update_start', value='s:10:"2003-10-27;"';
REPLACE variable SET name='theme_default', value='s:9:"xtemplate";';
diff --git a/database/database.pgsql b/database/database.pgsql
index 2cc7fea..46a8292 100644
--- a/database/database.pgsql
+++ b/database/database.pgsql
@@ -578,6 +578,8 @@ INSERT INTO system VALUES ('themes/xtemplate/xtemplate.theme','xtemplate','theme
INSERT INTO variable(name,value) VALUES('update_start', 's:10:"2003-10-27";');
INSERT INTO variable(name,value) VALUES('theme_default','s:9:"xtemplate";');
INSERT INTO users(uid,name,mail,rid) VALUES(0,'','', '1');
+INSERT INTO permission VALUES (1,'access content',0);
+INSERT INTO permission VALUES (2,'access comments, access content, post comments, post comments without approval',0);
INSERT INTO blocks(module,delta,status) VALUES('user', '0', '1');
INSERT INTO blocks(module,delta,status) VALUES('user', '1', '1');