aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/access.php
AgeCommit message (Collapse)Author
2011-09-05Fixed a stupid problem I introduced in the installation and only just caught >:OBrett Profitt
2011-09-03Fixed typo in call to function.Brett Profitt
2011-08-30Fixes #3543. Ported access collections fix to master.Brett Profitt
2011-07-06Revert "Merged ACL fixes from 1.7 branch."Brett Profitt
This reverts commit de111da23258cd2b513c8f4ab84712ee50272b23. Reverted because of problems in how 1.8 populates the access dropdown.
2011-07-06Revert "Fixes #3552. Addess ACL unit tests. These currently fail because of ↵Brett Profitt
#3522." This reverts commit d423aee393458d6827dbe913ceacd29171fa3d74. Removing because of problems with differences in how 1.7 and 1.8 populate the acl dropdown for groups.
2011-07-03Merged ACL fixes from 1.7 branch.Brett Profitt
2011-07-03Merged d423aee393458d6827db from 1.7 to master.Brett Profitt
Fixes #3552. Addess ACL unit tests. These currently fail because of #3522. git-svn-id: http://code.elgg.org/elgg/branches/1.7@9202 36083f99-b078-4883-b0ff-0f9b5a30f544 Conflicts: engine/lib/access.php
2011-03-04Refs #1926 should not be ignoring the flush variablecash
git-svn-id: http://code.elgg.org/elgg/trunk@8579 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-04updated comment on why we may want to keep access cachecash
git-svn-id: http://code.elgg.org/elgg/trunk@8578 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-04Refs #1926 made 'access:collections:add_user', 'collection' plugin hook more ↵cash
useful git-svn-id: http://code.elgg.org/elgg/trunk@8576 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-08Refs #2543: Core uses the new functions from previous commit.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@8078 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-01Moving deprecated functions out of files access.php - entities.php. This ↵ewinslow
time into two files based on version deprecated and maintaining documentation git-svn-id: http://code.elgg.org/elgg/trunk@7979 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-01Reversing 7975ewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7978 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-01Refs #2839: moved deprecated functions from access.php - ↵ewinslow
private_settings.php to deprecated.php. Still have to do relationships.php - xml.php. Deleted documentation for these functions since 1) it was using up precious bytes, and 2) documentation should not be needed since people should not be trying to use these if they are using 1.8, and 3) I assume the documentation will exist as archived 1.7 docs. git-svn-id: http://code.elgg.org/elgg/trunk@7975 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-21merged the fix to get access collection documentation into trunk from 1.7 branchcash
git-svn-id: http://code.elgg.org/elgg/trunk@7700 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-15moving friends views into corecash
git-svn-id: http://code.elgg.org/elgg/trunk@7633 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-01Fixes #2430 adds get_entities_from_access_collection() into trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@7486 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-22merged previous 2 commits into trunk - removes use of session class global cash
git-svn-id: http://code.elgg.org/elgg/trunk@7420 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-14Fixes #2334: Converted viewtype => listtype and viewtypetoggle => ↵ewinslow
listtypetoggle. Did my best to maintain backwards compatibility but might have missed something... git-svn-id: http://code.elgg.org/elgg/trunk@7311 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-13Fixes #2561 fixed typo - thanks for the reportcash
git-svn-id: http://code.elgg.org/elgg/trunk@7303 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-10Fixes #2367: With fear and trepidation, converting events/plugin hooks to ↵ewinslow
use elgg_ prefixed versions git-svn-id: http://code.elgg.org/elgg/trunk@7284 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03bah! forgot to rename all variables in list_entities_from_access_idewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7217 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Fixed regression in deprecated list_entities_from_access_id -- was passing ↵ewinslow
access_id as 'collection_id' instead of 'access_id' git-svn-id: http://code.elgg.org/elgg/trunk@7216 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Fixes #2606: Abstracted elgg_list_entities. Takes an optional second ↵ewinslow
argument for the 'getter', defaulting to 'elgg_get_entities'. Converted current elgg_list_entities* functions to use it git-svn-id: http://code.elgg.org/elgg/trunk@7212 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-28Standardized code in all of core, not including language files, tests, or ↵brettp
core mods. git-svn-id: http://code.elgg.org/elgg/trunk@7124 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-09-16Refs #2450: Documented access.php.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@6946 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-09-15Refs #2220: Pulled remaining classes out of lib files. Core classes now ↵ewinslow
autoloaded via __autoload(). git-svn-id: http://code.elgg.org/elgg/trunk@6941 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-09-06Refs #2220: Pulled most classes / interfaces out of lib files (except ↵ewinslow
query.php and exception.php) into "classes" folder. Replaced inline classes with "require_once" statements for now. Ran unit tests to verify functionality before committing. git-svn-id: http://code.elgg.org/elgg/trunk@6908 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-08-29Merged [6875] from 1.7 branch into trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@6878 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-08-22Merged r6757:6810 from 1.7 branch into trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@6850 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-06-12Merged r6362:6366 from 1.7 to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@6469 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-14merge -r5898:5928 (not excluding riverdashboard, notifications, and ↵brettp
messageboard) from 1.7 to trunk. git-svn-id: http://code.elgg.org/elgg/trunk@6058 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-26Fixes #1540: Added site_guid to get_user_access_collections().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3975 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-19Fixes #1519: Corrected site_guid in create_access_collection().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3949 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-08Fixes #1496: delete_access_collection() invalidates the access collection ↵brettp
cache before attempting to delete. Removed a misplaced unset() in a unit test that was causing test objects not to be properly deleted. git-svn-id: http://code.elgg.org/elgg/trunk@3922 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-01Add elgg_deprecated_notice() so we don't have to re-write all the elgg_log() ↵brettp
deprecated notices to register_error()s. Updated current ones to use this. git-svn-id: http://code.elgg.org/elgg/trunk@3874 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-10using defines for ACCESS values - closes #1064cash
git-svn-id: http://code.elgg.org/elgg/trunk@3749 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-07removed code that wasn't doing anything in access.phpcash
git-svn-id: http://code.elgg.org/elgg/trunk@3733 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-02Changed elgg_get_entities_from_access_id() to be closer to how other ↵brettp
functions work. git-svn-id: http://code.elgg.org/elgg/trunk@3613 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-30Deprecating get_entities_from_access_id().nickw
git-svn-id: http://code.elgg.org/elgg/trunk@3610 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-24Slight code cleanup.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3577 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-15Merged admin access override hook with ignore access system override hook.brettp
get_sql_access_prefix() now correctly uses elgg_check_access_overrides() instead of elgg_get_ignore_access(). git-svn-id: http://code.elgg.org/elgg/trunk@3552 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-13Standardized users and entities.brettp
Fleshed out elgg_set_ignore_access() and elgg_get_ignore_access() git-svn-id: http://code.elgg.org/elgg/trunk@3533 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-13Fix typo in ElggAccess:get_ignore_access().brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3529 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-13First pass at removing $is_admin global.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3528 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-08Brought access.php and sesssion.php up to code standards.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3517 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-16Changed get_entities_from_access_collection() to ↵brettp
get_entities_from_access_id() to be more generic. git-svn-id: https://code.elgg.org/elgg/trunk@3488 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-10Updated fixes for checking for admin in get_access_sql_prefix()brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3485 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-10Checking against admin metadata instead of $is_admin global in ↵brettp
get_access_sql_suffix(). git-svn-id: https://code.elgg.org/elgg/trunk@3484 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-09-10Fixing a bug with when getting the sql suffix for the non-loggedin user.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3483 36083f99-b078-4883-b0ff-0f9b5a30f544