diff options
| author | Erik Frèrejean <erikfrerejean@phpbb.com> | 2010-12-21 15:08:07 +0100 | 
|---|---|---|
| committer | Erik Frèrejean <erikfrerejean@phpbb.com> | 2010-12-21 15:08:07 +0100 | 
| commit | 8a07e8a4f8092e0123f16e9b4acf15d7d54d4c24 (patch) | |
| tree | f1fc31bead75d5edb98236c3635922665e344d2c | |
| parent | 5e258a0a9021da3f9d830326f697fa05e86be877 (diff) | |
| download | forums-8a07e8a4f8092e0123f16e9b4acf15d7d54d4c24.tar forums-8a07e8a4f8092e0123f16e9b4acf15d7d54d4c24.tar.gz forums-8a07e8a4f8092e0123f16e9b4acf15d7d54d4c24.tar.bz2 forums-8a07e8a4f8092e0123f16e9b4acf15d7d54d4c24.tar.xz forums-8a07e8a4f8092e0123f16e9b4acf15d7d54d4c24.zip  | |
[ticket/9954] Remove unneeded never permission
The `ROLE_USER_NOAVATAR` role gets a *never* permission assigned
for the two "u_masspm*" permissions. Due to this, this role changes
behaviour it isn't intended to change. It should assign "no" as is
done in the `ROLE_USER_LIMITED` role.
PHPBB3-9954
| -rw-r--r-- | phpBB/install/schemas/schema_data.sql | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/install/schemas/schema_data.sql b/phpBB/install/schemas/schema_data.sql index 355af802ef..700d4d63d1 100644 --- a/phpBB/install/schemas/schema_data.sql +++ b/phpBB/install/schemas/schema_data.sql @@ -565,7 +565,7 @@ INSERT INTO phpbb_acl_roles_data (role_id, auth_option_id, auth_setting) SELECT  # No Avatar (u_)  INSERT INTO phpbb_acl_roles_data (role_id, auth_option_id, auth_setting) SELECT 9, auth_option_id, 1 FROM phpbb_acl_options WHERE auth_option LIKE 'u_%' AND auth_option NOT IN ('u_attach', 'u_chgavatar', 'u_viewonline', 'u_chggrp', 'u_chgname', 'u_ignoreflood', 'u_pm_attach', 'u_pm_emailpm', 'u_pm_flash', 'u_savedrafts', 'u_search', 'u_sendemail', 'u_sendim', 'u_masspm', 'u_masspm_group'); -INSERT INTO phpbb_acl_roles_data (role_id, auth_option_id, auth_setting) SELECT 9, auth_option_id, 0 FROM phpbb_acl_options WHERE auth_option LIKE 'u_%' AND auth_option IN ('u_chgavatar', 'u_masspm', 'u_masspm_group'); +INSERT INTO phpbb_acl_roles_data (role_id, auth_option_id, auth_setting) SELECT 9, auth_option_id, 0 FROM phpbb_acl_options WHERE auth_option LIKE 'u_%' AND auth_option IN ('u_chgavatar');  # Full Moderator (m_)  INSERT INTO phpbb_acl_roles_data (role_id, auth_option_id, auth_setting) SELECT 10, auth_option_id, 1 FROM phpbb_acl_options WHERE auth_option LIKE 'm_%';  | 
