aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/auth.php
Commit message (Collapse)AuthorAgeFilesLines
...
* ok, this will fix various permission discrepances. :) What happened is that ↵Meik Sievertsen2006-03-221-36/+17
| | | | | | the static permission cache and the static acl forum ids were used... globally (of course). But this led to users inheriting permissions from previously called user permission setups resulting in users seeing private forums in profiles as well as other areas i could imagine being "wrong". Thanks to Yawner for letting me login with his username. :D git-svn-id: file:///svn/phpbb/trunk@5697 89ea8834-ac86-4346-8a33-228a782c2dd0
* - streamlined reports to consist of the feature set we decided upon (Nils, ↵Meik Sievertsen2006-03-121-10/+39
| | | | | | | | | | | | | | your turn now) - use getenv instead of $_ENV (with $_ENV the case could be wrong) - permission fixes (there was a bug arising with getting permission flags - re-added them and handled roles deletion differently) - implemented max login attempts - changed the expected return parameters for logins/sessions - added acp page for editing report/denial reasons - other fixes here and there git-svn-id: file:///svn/phpbb/trunk@5622 89ea8834-ac86-4346-8a33-228a782c2dd0
* implementing permission rolesMeik Sievertsen2006-02-221-24/+64
| | | | | | | | | | | | | - copy permissions (adding groups) - copy permissions (adding forums) - checking proper groupadd/del settings - added intro page to permissions (to give an overview and quick links) - able to select forums + subforums, single forum, all groups, all users (permission screens) - able to reset permissions (only reset input field) - fix forum deletion bug git-svn-id: file:///svn/phpbb/trunk@5574 89ea8834-ac86-4346-8a33-228a782c2dd0
* my turn to break things... harharharMeik Sievertsen2006-02-121-0/+46
| | | | | | | | | | | | | | | | | - 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
* - new acl method -> acl_getf_global()Meik Sievertsen2006-02-121-0/+43
| | | | | | | usage example: acl_getf_global('m_approve'); returns true if user has m_approve permission in one or more forums, else false git-svn-id: file:///svn/phpbb/trunk@5545 89ea8834-ac86-4346-8a33-228a782c2dd0
* - ability to change anonymous user settings more easilyMeik Sievertsen2006-02-031-445/+7
| | | | | | | | | - fix serious bugs in permissions (always allowing if permissions explicitly set and getting wrong permission options from bitfield) - added option for returning an array to make_forum_select - again fixing bugs in module system (one for a very query consuming part and one for correctly filling the cache) git-svn-id: file:///svn/phpbb/trunk@5517 89ea8834-ac86-4346-8a33-228a782c2dd0
* - moved add_log out of functions_admin (this file should only be included in ↵Meik Sievertsen2006-01-251-102/+32
| | | | | | | | | | | admin/admin-related pages) - fixed cookie based topic tracking - added missing config variables - other minor things git-svn-id: file:///svn/phpbb/trunk@5494 89ea8834-ac86-4346-8a33-228a782c2dd0
* - size select fixMeik Sievertsen2006-01-221-12/+228
| | | | | | | | | | | - introduced function for building group options (acp) - fixed acl_getf if negated option needs to be retrieved - only using one function for updating post informations - fixing module display if module is disabled - if user is having a non-existent style do not print out error message, instead fix the users value and load the default style git-svn-id: file:///svn/phpbb/trunk@5486 89ea8834-ac86-4346-8a33-228a782c2dd0
* move around - better not call create_function in a loopMeik Sievertsen2006-01-171-1/+7
| | | | git-svn-id: file:///svn/phpbb/trunk@5469 89ea8834-ac86-4346-8a33-228a782c2dd0
* just preparing...Meik Sievertsen2006-01-171-35/+380
| | | | git-svn-id: file:///svn/phpbb/trunk@5468 89ea8834-ac86-4346-8a33-228a782c2dd0
* - sperate permissions from sessionsMeik Sievertsen2006-01-041-0/+473
| | | | | | | | | | - added some comments to the auth class for better understanding - revised some permission functions - added option to negate permission check by prefixing option with a ! (for example checking for !f_read returns true if user is not able to read forum) - used the new option for testing in ucp front git-svn-id: file:///svn/phpbb/trunk@5423 89ea8834-ac86-4346-8a33-228a782c2dd0
* Gone but not forgotten ... what's not forgotten? who said that? shut up PaulPaul S. Owen2002-07-141-325/+0
| | | | git-svn-id: file:///svn/phpbb/trunk@2672 89ea8834-ac86-4346-8a33-228a782c2dd0
* Small cleanupsPaul S. Owen2002-04-021-78/+49
| | | | git-svn-id: file:///svn/phpbb/trunk@2461 89ea8834-ac86-4346-8a33-228a782c2dd0
* Stop being too paranoid about hacking of includes containing only fully ↵Paul S. Owen2002-03-181-5/+0
| | | | | | inclusive functions git-svn-id: file:///svn/phpbb/trunk@2328 89ea8834-ac86-4346-8a33-228a782c2dd0
* Updates to overcome security issue + updates of various functions, initial ↵Paul S. Owen2002-03-181-0/+5
| | | | | | version of profile registration include ... not completed but should be functional for obvious reasons(!) git-svn-id: file:///svn/phpbb/trunk@2304 89ea8834-ac86-4346-8a33-228a782c2dd0
* Changed way moderator lang is output on viewforum and indexPaul S. Owen2001-12-161-40/+27
| | | | git-svn-id: file:///svn/phpbb/trunk@1611 89ea8834-ac86-4346-8a33-228a782c2dd0
* oohh 'eck Dangermouse, I'm surprised they didn't pick up on this bug, quiet ↵Paul S. Owen2001-11-211-2/+1
| | | | | | Penfold I'm thinking git-svn-id: file:///svn/phpbb/trunk@1399 89ea8834-ac86-4346-8a33-228a782c2dd0
* Should fix bug #462074Paul S. Owen2001-09-161-1/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@1049 89ea8834-ac86-4346-8a33-228a782c2dd0
* Done away with group vs. user switching, no pointPaul S. Owen2001-09-151-17/+11
| | | | git-svn-id: file:///svn/phpbb/trunk@1045 89ea8834-ac86-4346-8a33-228a782c2dd0
* Numerous updates and additions for polling and assorted fixes ... or bugs, ↵Paul S. Owen2001-09-061-12/+16
| | | | | | whichever they turn out to be git-svn-id: file:///svn/phpbb/trunk@987 89ea8834-ac86-4346-8a33-228a782c2dd0
* Re-added GPL disclaimersJames Atkinson2001-08-301-35/+44
| | | | git-svn-id: file:///svn/phpbb/trunk@943 89ea8834-ac86-4346-8a33-228a782c2dd0
* Modified header commentsPaul S. Owen2001-08-261-11/+0
| | | | git-svn-id: file:///svn/phpbb/trunk@933 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fixed errors, non-sid-appended urls, lang switchovers, etc.Paul S. Owen2001-07-201-11/+11
| | | | git-svn-id: file:///svn/phpbb/trunk@707 89ea8834-ac86-4346-8a33-228a782c2dd0
* Additional security check for authPaul S. Owen2001-07-191-2/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@700 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fixed small, but showstopping, typoBart van Bragt2001-07-161-2/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@679 89ea8834-ac86-4346-8a33-228a782c2dd0
* Removed check/send for admin status, other cleanupsPaul S. Owen2001-07-161-67/+51
| | | | git-svn-id: file:///svn/phpbb/trunk@677 89ea8834-ac86-4346-8a33-228a782c2dd0
* Switchover to message_die + some comment cleanupPaul S. Owen2001-07-101-60/+45
| | | | git-svn-id: file:///svn/phpbb/trunk@617 89ea8834-ac86-4346-8a33-228a782c2dd0
* Another show stopping errorPaul S. Owen2001-07-071-21/+29
| | | | git-svn-id: file:///svn/phpbb/trunk@597 89ea8834-ac86-4346-8a33-228a782c2dd0
* Show stopping error fixedPaul S. Owen2001-07-031-6/+16
| | | | git-svn-id: file:///svn/phpbb/trunk@540 89ea8834-ac86-4346-8a33-228a782c2dd0
* And another fix, whos idea was it to do auth like this ... ohPaul S. Owen2001-06-191-2/+9
| | | | git-svn-id: file:///svn/phpbb/trunk@515 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fixes for more messups on my partPaul S. Owen2001-06-181-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@512 89ea8834-ac86-4346-8a33-228a782c2dd0
* Something I forgot to change a long time ago ... and pretty serious too, bad ↵Paul S. Owen2001-06-181-3/+3
| | | | | | Paul git-svn-id: file:///svn/phpbb/trunk@510 89ea8834-ac86-4346-8a33-228a782c2dd0
* Something I forgot to change a long time ago ... and pretty serious too, bad ↵Paul S. Owen2001-06-181-1/+4
| | | | | | Paul git-svn-id: file:///svn/phpbb/trunk@509 89ea8834-ac86-4346-8a33-228a782c2dd0
* Switched forum_auth to the forums tablePaul S. Owen2001-06-171-2/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@506 89ea8834-ac86-4346-8a33-228a782c2dd0
* Some language var switch oversPaul S. Owen2001-06-121-11/+11
| | | | git-svn-id: file:///svn/phpbb/trunk@478 89ea8834-ac86-4346-8a33-228a782c2dd0
* Reduced auth code size and added some more auth typesPaul S. Owen2001-06-061-281/+164
| | | | git-svn-id: file:///svn/phpbb/trunk@435 89ea8834-ac86-4346-8a33-228a782c2dd0
* Auth now returns a type allowing for more meaningful failure messa gesPaul S. Owen2001-06-061-1/+103
| | | | git-svn-id: file:///svn/phpbb/trunk@434 89ea8834-ac86-4346-8a33-228a782c2dd0
* Some emergency updates ...Paul S. Owen2001-06-031-83/+58
| | | | git-svn-id: file:///svn/phpbb/trunk@422 89ea8834-ac86-4346-8a33-228a782c2dd0
* More internal changesPaul S. Owen2001-06-021-162/+231
| | | | git-svn-id: file:///svn/phpbb/trunk@409 89ea8834-ac86-4346-8a33-228a782c2dd0
* Some hopefully finalish updates to auth schemaPaul S. Owen2001-06-011-4/+4
| | | | git-svn-id: file:///svn/phpbb/trunk@403 89ea8834-ac86-4346-8a33-228a782c2dd0
* Allow restricted view forumsPaul S. Owen2001-06-011-97/+155
| | | | git-svn-id: file:///svn/phpbb/trunk@402 89ea8834-ac86-4346-8a33-228a782c2dd0
* Something else broke, now fixed, probably ... sleep uuugghhhPaul S. Owen2001-06-011-7/+9
| | | | git-svn-id: file:///svn/phpbb/trunk@401 89ea8834-ac86-4346-8a33-228a782c2dd0
* Some more updates ... head hurts, must sleepPaul S. Owen2001-06-011-42/+44
| | | | git-svn-id: file:///svn/phpbb/trunk@400 89ea8834-ac86-4346-8a33-228a782c2dd0
* More changes ... admin level now set in phpbb_users rather than via auth systemPaul S. Owen2001-05-311-41/+44
| | | | git-svn-id: file:///svn/phpbb/trunk@397 89ea8834-ac86-4346-8a33-228a782c2dd0
* Changes to allow all auth types to be returnedPaul S. Owen2001-05-311-91/+147
| | | | git-svn-id: file:///svn/phpbb/trunk@388 89ea8834-ac86-4346-8a33-228a782c2dd0
* Small error correction that could be show stoppingPaul S. Owen2001-05-301-21/+51
| | | | git-svn-id: file:///svn/phpbb/trunk@380 89ea8834-ac86-4346-8a33-228a782c2dd0
* Auth Stage-1 goes inPaul S. Owen2001-05-301-47/+148
| | | | git-svn-id: file:///svn/phpbb/trunk@377 89ea8834-ac86-4346-8a33-228a782c2dd0
* Removed need to send db as a parameter to functionsPaul S. Owen2001-04-191-4/+10
| | | | git-svn-id: file:///svn/phpbb/trunk@189 89ea8834-ac86-4346-8a33-228a782c2dd0
* Moved all included files to includesPaul S. Owen2001-04-191-0/+87
git-svn-id: file:///svn/phpbb/trunk@182 89ea8834-ac86-4346-8a33-228a782c2dd0