1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

my turn to break things... harharhar

- checking in permission settings and permission masks
- permission presets and documentation not finished yet
- added backtrace function to determine file/line for sql errors
- fixed marlist for orphan attachments/groups/logs/users
- able to change anonymous user settings/permissions now
- re-arranged admin permissions a bit (added some and removed some)
- setting forum permissions after creating/editing forum now selects every default group (copy permisson/dropdown to be added for adding forums)
- finished user permissions in users acp

note: the layout for permissions might change
devs: please empty the user_permissions in phpbb_users. Also, first change your auth_options table, remove all cache files and then re-set admin permissions. After having set the admin permissions you can update your modules table (else you will not see the permission tabs) - or empty the auth setting within the modules table to be able to see the permission modules (they rely on newly added permission options)


git-svn-id: file:///svn/phpbb/trunk@5553 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2006-02-12 19:21:00 +00:00
parent 3f323153b5
commit 81f78690db
46 changed files with 3237 additions and 210 deletions

View File

@@ -95,7 +95,8 @@ CREATE INDEX filesize on phpbb_attachments (filesize)
CREATE TABLE phpbb_auth_groups (
group_id number(8) DEFAULT '0' NOT NULL,
forum_id number(8) DEFAULT '0' NOT NULL,
auth_option_id number(5) DEFAULT '0' NOT NULL,
auth_option_id number(8) DEFAULT '0' NOT NULL,
auth_preset_id number(8) DEFAULT '0' NOT NULL,
auth_setting number(4) DEFAULT '0' NOT NULL
)
/
@@ -109,7 +110,7 @@ CREATE INDEX auth_option_id on phpbb_auth_groups (auth_option_id)
Table: phpbb_auth_options
*/
CREATE TABLE phpbb_auth_options (
auth_option_id number(5) NOT NULL,
auth_option_id number(8) NOT NULL,
auth_option varchar2(20),
is_global number(1) DEFAULT '0' NOT NULL,
is_local number(1) DEFAULT '0' NOT NULL,
@@ -140,11 +141,10 @@ CREATE INDEX auth_option on phpbb_auth_options (auth_option)
Table: phpbb_auth_presets
*/
CREATE TABLE phpbb_auth_presets (
preset_id number(4) NOT NULL,
preset_id number(8) NOT NULL,
preset_name varchar2(50) DEFAULT '',
preset_user_id number(5) DEFAULT '0' NOT NULL,
preset_type varchar2(2) DEFAULT '',
preset_data clob DEFAULT '',
preset_type varchar2(10) DEFAULT '',
preset_group_id number(8) DEFAULT '0' NOT NULL,
CONSTRAINT pk_phpbb_auth_presets PRIMARY KEY (preset_id)
)
/
@@ -167,13 +167,25 @@ END;
CREATE INDEX preset_type on phpbb_auth_presets (preset_type)
/
/*
Table: phpbb_auth_preset_data
*/
CREATE TABLE phpbb_auth_preset_data (
preset_id number(8) DEFAULT '0' NOT NULL,
auth_option_id number(8) DEFAULT '0' NOT NULL,
auth_setting number(4) DEFAULT '0' NOT NULL,
CONSTRAINT pk_phpbb_confirm PRIMARY KEY (preset_id, auth_option_id)
)
/
/*
Table: phpbb_auth_users
*/
CREATE TABLE phpbb_auth_users (
user_id number(8) DEFAULT '0' NOT NULL,
forum_id number(8) DEFAULT '0' NOT NULL,
auth_option_id number(5) DEFAULT '0' NOT NULL,
auth_option_id number(8) DEFAULT '0' NOT NULL,
auth_preset_id number(8) DEFAULT '0' NOT NULL,
auth_setting number(4) DEFAULT '0' NOT NULL
)
/