aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/access.php
AgeCommit message (Collapse)Author
2009-02-04Access improvements on granular notificationsben
git-svn-id: https://code.elgg.org/elgg/trunk@2649 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-04Moved the access constant definitions from access.php to elgglib.php, so ↵ben
they'll be loaded initially. git-svn-id: https://code.elgg.org/elgg/trunk@2638 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-23Refs #706marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2611 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-07Closes #286: Group access restrictions issue fixed, modified from patch ↵marcus
supplied with #315 git-svn-id: https://code.elgg.org/elgg/trunk@2538 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-12-04Closes #421 : Catches the DB Exception, so hopefully this will prevent the ↵marcus
error from showing up in the future :) git-svn-id: https://code.elgg.org/elgg/trunk@2505 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-14* Introducing get_loggedin_user() and get_loggedin_userid()marcus
* ACLs now using get_loggedin_user* * Some logic cleaned up * Some "Undefined..." messages cleaned up git-svn-id: https://code.elgg.org/elgg/trunk@2459 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-03Minor tweaks 'cos case does matter...marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2379 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-29Reverted database access permission caching.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2352 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-28Flags to prevent queries being run multiple times. marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2325 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-28Removed spurious noticemarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2324 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-06A massive speed increase for access permissions. :)ben
git-svn-id: https://code.elgg.org/elgg/trunk@2184 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-24Returning cache control back to access permissions.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2118 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-24Metadata permissions now work as advertised, but had to remove caching in ↵ben
the process. Will attempt to re-enable it shortly. git-svn-id: https://code.elgg.org/elgg/trunk@2109 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-17Access permissions now cached correctly.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2096 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-18Small access fixben
git-svn-id: https://code.elgg.org/elgg/trunk@2010 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-18Corrected minor friend collection issueben
git-svn-id: https://code.elgg.org/elgg/trunk@2005 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-13Refs #237, #46 and #227: Added override code.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@1902 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-13Refs #237, #46 and #227: Added active only override to get_access_sql_suffixmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@1889 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-13Admins now see all!ben
git-svn-id: https://code.elgg.org/elgg/trunk@1873 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-12Removed superadmin access controls. You can't call get_entity from within ↵marcus
get_access_sql_suffix and get_access_array as it causes an infinite loop. The only safe way to do this is via a plugin hook. git-svn-id: https://code.elgg.org/elgg/trunk@1865 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-12Further access additions for admins.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1860 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-12Admins can now see private data.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1859 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-07Fixed access permissions wrt groupsben
git-svn-id: https://code.elgg.org/elgg/trunk@1765 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-05Fixed group-specific access controls, and site-specific access controlsben
git-svn-id: https://code.elgg.org/elgg/trunk@1720 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-31More updates for collections - save now works properly.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1637 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-31Picker saves correctly!ben
git-svn-id: https://code.elgg.org/elgg/trunk@1635 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-25Improved friend picker.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1526 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-24Introducing the (still issue-packed) friend picker.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1511 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-21Fixes #175marcus
git-svn-id: https://code.elgg.org/elgg/trunk@1482 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-18Slight change to write access permissions functionben
git-svn-id: https://code.elgg.org/elgg/trunk@1470 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-18Reinstating plugin hooks for access collections.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1469 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-18Fixed a bug with the revamped access collectionsben
git-svn-id: https://code.elgg.org/elgg/trunk@1467 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-18Fix for access collectionsben
git-svn-id: https://code.elgg.org/elgg/trunk@1465 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-18new functions added to access in order to allow collections to be createddave
git-svn-id: https://code.elgg.org/elgg/trunk@1462 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-17access groups renamed to access collectionsdave
git-svn-id: https://code.elgg.org/elgg/trunk@1460 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-17Fix to previousben
git-svn-id: https://code.elgg.org/elgg/trunk@1458 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-17New access control hooksben
git-svn-id: https://code.elgg.org/elgg/trunk@1457 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-17Added new access group control functionsben
git-svn-id: https://code.elgg.org/elgg/trunk@1454 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-07-16Forgot to commit thismarcus
git-svn-id: https://code.elgg.org/elgg/trunk@1440 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-18Fixes #12: Active variable on entities table. Update db schema.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@980 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-03Marcus Povey <marcus@dushka.co.uk>icewing
* Fixed restricted mode git-svn-id: https://code.elgg.org/elgg/trunk@779 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-02Marcus Povey <marcus@dushka.co.uk>icewing
* Removed and because you can always add it. git-svn-id: https://code.elgg.org/elgg/trunk@777 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-02Marcus Povey <marcus@dushka.co.uk>icewing
* Added access control shorthand function. REPLACE THIS WHEN QUERY OBJECT COMPLETE git-svn-id: https://code.elgg.org/elgg/trunk@776 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-23Added a plugin hook and translations for previous.ben
git-svn-id: https://code.elgg.org/elgg/trunk@707 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-23Introducing a visual widget for inputting access permissions.ben
git-svn-id: https://code.elgg.org/elgg/trunk@706 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-21Creating the constants ACCESS_PUBLIC, ACCESS_PRIVATE, ACCESS_LOGGED_INben
git-svn-id: https://code.elgg.org/elgg/trunk@670 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-03-14Marcus Povey <marcus@dushka.co.uk>icewing
* Removed error outputs * Fixed languages git-svn-id: https://code.elgg.org/elgg/trunk@232 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-03-14Marcus Povey <marcus@dushka.co.uk>icewing
* Made site test conditional to remove debug message git-svn-id: https://code.elgg.org/elgg/trunk@231 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-03-13Marcus Povey <marcus@dushka.co.uk>icewing
* Access using new schema git-svn-id: https://code.elgg.org/elgg/trunk@208 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-03-12Updates to both objects (in order to be able to resave type properly) and ↵ben
access (to add useful constants) git-svn-id: https://code.elgg.org/elgg/trunk@179 36083f99-b078-4883-b0ff-0f9b5a30f544