aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/access.php
AgeCommit message (Collapse)Author
2012-12-18Fixes #3940. Cleaned up caching for access functions. Access caches are now ↵Brett Profitt
cleared on ignore access change.
2012-11-14Style cleanupSteve Clay
2012-05-14Making sure access calls don't get cached if access is disabled and it's the ↵Brett Profitt
first call after $init_finished is set.
2012-05-14Only caching access lists after ready, system fires.Brett Profitt
This prevents a bug where access lists could be cached and not cleared during plugin boot while access was disabled, which could expose entities set to ACCESS_PRIVATE.
2012-01-22Fixes #4295 using on duplicate key to not fail when adding the same user ↵cash
more than once to an access collection
2012-01-08coding standards fixes - commentsCash Costello
2012-01-01Fixes #3939 if user does not have permissions to see the name of the access ↵cash
collection, it is shown as "Limited"
2011-11-18Fixes #4115 returning bool from remove_user_from_access_collection()cash
2011-11-18Fixes #4113 returning a bool from delete_access_collection()cash
2011-11-01standardized the elgg_get_entities* function @return documentationcash
2011-10-21Fixes #3989 fixed access of non-object property in access libCash Costello
2011-10-08Fixes #3942 fixed all the warnings and notices in the unit testsCash Costello
2011-10-08Fixes #3936 added @access private to internal functionsCash Costello
2011-10-08Fixes #3937 updated the documentation for the access lib and a few minor ↵Cash Costello
code clean-ups
2011-10-02Merged docs update for getters from 1.7.Brett Profitt
2011-09-29Fixes #3827 updated documentation on @return for elgg_get_entities* functionscash
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