diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-05-30 20:21:42 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-05-30 20:21:42 +0000 |
| commit | 53c41d08d165889356c59256fd859ecd5741d0c8 (patch) | |
| tree | 9486a22df68f523e57023ce01ea2186663f280d4 /phpBB/includes/constants.php | |
| parent | 7401fc7d0750da12b7aa7b253ba563dd9f4ba087 (diff) | |
| download | forums-53c41d08d165889356c59256fd859ecd5741d0c8.tar forums-53c41d08d165889356c59256fd859ecd5741d0c8.tar.gz forums-53c41d08d165889356c59256fd859ecd5741d0c8.tar.bz2 forums-53c41d08d165889356c59256fd859ecd5741d0c8.tar.xz forums-53c41d08d165889356c59256fd859ecd5741d0c8.zip | |
Auth Stage-1 goes in
git-svn-id: file:///svn/phpbb/trunk@377 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/constants.php')
| -rw-r--r-- | phpBB/includes/constants.php | 29 |
1 files changed, 26 insertions, 3 deletions
diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php index 3f0e70e4ba..315e95d072 100644 --- a/phpBB/includes/constants.php +++ b/phpBB/includes/constants.php @@ -28,9 +28,9 @@ define(DEBUG, 1); // Debugging on //define(DEBUG, 0); // Debugging off // User Levels -define(ADMIN, 4); -define(SUPERMOD, 3); -define(MODERATOR, 2); +//define(ADMIN, 4); +//define(SUPERMOD, 3); +//define(MODERATOR, 2); define(USER, 1); define(DELETED, -1); define(ANONYMOUS, -1); @@ -85,6 +85,25 @@ define(PAGE_VIEWMEMBERS, -7); define(PAGE_FAQ, -8); define(PAGE_POSTING, -9); +// Auth settings +define(ALL, 0); +define(REG, 1); +define(ACL, 2); +define(MOD, 3); +define(SUPERMOD, 4); +define(ADMIN, 5); + +define(VIEW, 0); +define(READ, 1); +define(POST, 2); +define(REPLY, 3); +define(EDIT, 4); +define(DELETE, 5); +define(VOTECREATE, 6); +define(VOTE, 7); +define(LIST_ALL, 10); + +// Table names define('BANLIST_TABLE', $table_prefix.'banlist'); define('CATEGORIES_TABLE', $table_prefix.'categories'); define('CONFIG_TABLE', $table_prefix.'config'); @@ -101,6 +120,10 @@ define('SESSIONS_KEY_TABLE', $table_prefix.'session_keys'); define('THEMES_TABLE', $table_prefix.'themes'); define('TOPICS_TABLE', $table_prefix.'topics'); define('USERS_TABLE', $table_prefix.'users'); +define('GROUPS_TABLE', $table_prefix.'groups'); +define('USER_GROUP_TABLE', $table_prefix.'user_group'); define('WORDS_TABLE', $table_prefix.'words'); +define('AUTH_ACCESS_TABLE', $table_prefix.'auth_access'); +define('AUTH_FORUMS_TABLE', $table_prefix.'auth_forums'); ?>
\ No newline at end of file |
