diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-01-15 20:20:34 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-01-15 20:20:34 +0000 |
commit | f3f76309cf52588dfcf35961e65eaa19051c8938 (patch) | |
tree | 908c8af0eac76d0e169e8930151c01aa6d9dcb34 /database | |
parent | 36c0e4d74569e7a12f80f849e30da04198c9b48c (diff) | |
download | brdo-f3f76309cf52588dfcf35961e65eaa19051c8938.tar.gz brdo-f3f76309cf52588dfcf35961e65eaa19051c8938.tar.bz2 |
- 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.mysql | 2 | ||||
-rw-r--r-- | database/database.pgsql | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/database/database.mysql b/database/database.mysql index a876a3084..5befddba7 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 2cc7feaf3..46a82926f 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'); |