aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/schemas/schema_data.sql
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-09-04 13:47:56 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-09-04 13:47:56 +0000
commit8c567e8c68a3106c94c140f732904b7b5b6eab1a (patch)
tree4deecc63204f9d39863165f26deb468541f54c19 /phpBB/install/schemas/schema_data.sql
parent5ea461108e2ddf10b72acbc1a79df01af5ec5d81 (diff)
downloadforums-8c567e8c68a3106c94c140f732904b7b5b6eab1a.tar
forums-8c567e8c68a3106c94c140f732904b7b5b6eab1a.tar.gz
forums-8c567e8c68a3106c94c140f732904b7b5b6eab1a.tar.bz2
forums-8c567e8c68a3106c94c140f732904b7b5b6eab1a.tar.xz
forums-8c567e8c68a3106c94c140f732904b7b5b6eab1a.zip
- fixing profile bug
- adjusting acl_gets calls (they are or'd - make sure they get checked correctly based on the situation) - automatically assign the u_download and u_search permission to the guest group git-svn-id: file:///svn/phpbb/trunk@6351 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/schemas/schema_data.sql')
-rw-r--r--phpBB/install/schemas/schema_data.sql4
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/install/schemas/schema_data.sql b/phpBB/install/schemas/schema_data.sql
index 7525c67971..71834e2e06 100644
--- a/phpBB/install/schemas/schema_data.sql
+++ b/phpBB/install/schemas/schema_data.sql
@@ -489,9 +489,11 @@ INSERT INTO phpbb_acl_roles_data (role_id, auth_option_id, auth_setting) SELECT
# Standard Access + Polls (f_)
INSERT INTO phpbb_acl_roles_data (role_id, auth_option_id, auth_setting) SELECT 21, auth_option_id, 1 FROM phpbb_acl_options WHERE auth_option LIKE 'f_%' AND auth_option NOT IN ('f_announce', 'f_delete', 'f_ignoreflood', 'f_sticky', 'f_user_lock');
-
# Permissions
+# GUESTS - u_download and u_search ability
+INSERT INTO phpbb_acl_groups (group_id, forum_id, auth_option_id, auth_role_id, auth_setting) SELECT 1, 0, auth_option_id, 0, 1 FROM phpbb_acl_options WHERE auth_option IN ('u_', 'u_download', 'u_search');
+
# Admin user - full user features
INSERT INTO phpbb_acl_users (user_id, forum_id, auth_option_id, auth_role_id, auth_setting) VALUES (2, 0, 0, 5, 0);