Logo white

Peter M. Groen / knowledgetree

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Commits 9,762
  • Compare
  • Branches 2
  • Tags 28
  • knowledgetree
  • lib
  • permissions
  • permissionutil.inc.php
06 Apr, 2006
1 commit
  • Clear all caches after fiddling in SQL behind the ORM's back. ...
    3d618f47
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5196 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2006-04-06 08:49:07 +0000  
    Browse File »

05 Apr, 2006
1 commit
  • Correct the signedness on the "empty only" option to ...
    02a53f78
    rebuildPermissionLookups.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5182 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2006-04-05 12:51:53 +0000  
    Browse File »

29 Mar, 2006
1 commit
  • Add a layer of indirection around array_merge. kt_array_merge will use ...
    d48f4e82
    array_merge directly on PHP4, but convert each parameter to an array
    when on PHP5.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5173 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2006-03-29 11:32:24 +0000  
    Browse File »

24 Mar, 2006
1 commit
  • - add and enable caching (properly) ...
    840b2ee0
    - enable document roles (DOUBLE CHECK YOUR DB)
    - fix minor toggleselect bug.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5125 c91229c3-7414-0410-bfa2-8a42b809f60b
    Brad Shuttleworth authored
    2006-03-24 15:10:04 +0000  
    Browse File »

06 Mar, 2006
1 commit
  • back out the role allocation (document) stuff. ...
    a44c4156
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5056 c91229c3-7414-0410-bfa2-8a42b809f60b
    Brad Shuttleworth authored
    2006-03-06 11:02:33 +0000  
    Browse File »

03 Mar, 2006
1 commit
  • document roles. ...
    3c82c95b
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5047 c91229c3-7414-0410-bfa2-8a42b809f60b
    Brad Shuttleworth authored
    2006-03-03 17:02:09 +0000  
    Browse File »

28 Feb, 2006
2 commits
  • fix for browseable folder id-bug. ...
    b31ad507
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5029 c91229c3-7414-0410-bfa2-8a42b809f60b
    Brad Shuttleworth authored
    2006-02-28 18:10:26 +0000  
    Browse File »
  • Add copyright notices to those files that didn't have them. ...
    9d83e6c8
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5027 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2006-02-28 16:53:52 +0000  
    Browse File »

19 Feb, 2006
1 commit
  • Add getDescriptorsForUsers, which is the future-proof way of finding ...
    0c13a3ce
    which descriptors a user is within (including via groups).
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4950 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2006-02-19 09:37:34 +0000  
    Browse File »

09 Feb, 2006
1 commit
  • Include workflowutil.inc.php for access to KTWorkflowUtil ...
    5665a1f5
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4876 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2006-02-09 09:09:18 +0000  
    Browse File »

03 Feb, 2006
2 commits
  • - not all documents have states, so don't necessarily fail. (permissionutil) ...
    efcfc236
    - if we only have 1 version, don't offer to compare with other versions (KTS-187)
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4812 c91229c3-7414-0410-bfa2-8a42b809f60b
    Brad Shuttleworth authored
    2006-02-03 15:16:43 +0000  
    Browse File »
  • Override permissions based on the state of the document. ...
    3959695a
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4807 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2006-02-03 12:58:14 +0000  
    Browse File »

01 Feb, 2006
1 commit
  • fix for subtle role-document bug. ...
    67d85b34
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4752 c91229c3-7414-0410-bfa2-8a42b809f60b
    Brad Shuttleworth authored
    2006-02-01 11:39:24 +0000  
    Browse File »

20 Jan, 2006
1 commit
  • - massive document-legact reorg by nbm. ...
    6da479f1
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4622 c91229c3-7414-0410-bfa2-8a42b809f60b
    Brad Shuttleworth authored
    2006-01-20 15:37:15 +0000  
    Browse File »

30 Dec, 2005
1 commit
  • Add rebuildPermissionLookups, which will rebuild all permission lookups ...
    186cc899
    on all objects (pass true as the first parameter to only build lookups
    for objects without lookups).
    
    Also return an error indication from setPermissionForID
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4551 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-12-30 08:13:12 +0000  
    Browse File »

15 Dec, 2005
2 commits
  • - role allocations now can be used to control permissions. ...
    bb33dad5
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4458 c91229c3-7414-0410-bfa2-8a42b809f60b
    Brad Shuttleworth authored
    2005-12-15 12:42:51 +0000  
    Browse File »
  • - add role-allocations ...
    83e25b1a
    - ensure that workflow and permission respect role-based allocations.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4454 c91229c3-7414-0410-bfa2-8a42b809f60b
    Brad Shuttleworth authored
    2005-12-15 10:42:10 +0000  
    Browse File »

01 Dec, 2005
1 commit
  • don't print the permission id if its a PEAR::isError ...
    c11bd359
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4290 c91229c3-7414-0410-bfa2-8a42b809f60b
    Brad Shuttleworth authored
    2005-12-01 14:39:21 +0000  
    Browse File »

16 Nov, 2005
1 commit
  • If there's a PEAR Error detecting the dynamic conditions, act as if ...
    e2f18ec4
    there aren't any, as there's nothing we can do at this point about it.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4000 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-16 12:16:19 +0000  
    Browse File »

11 Nov, 2005
1 commit
  • Take dynamic permissions into account when creating lookup permissions. ...
    99429679
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3974 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-11 08:11:35 +0000  
    Browse File »

25 Oct, 2005
1 commit
  • getAllowedForDescriptor is a simple helper function ...
    05ae9522
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3881 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-10-25 12:33:48 +0000  
    Browse File »

15 Oct, 2005
1 commit
  • Add some method-level documentation, and finish folding tags ...
    867b74b9
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3813 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-10-15 09:28:40 +0000  
    Browse File »

21 Sep, 2005
1 commit
  • Deal with the case where findRootObjectForPermissionObject is called on ...
    2ab11db9
    a permission object which is set by a document (for itself).
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3651 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-09-21 20:44:13 +0000  
    Browse File »

15 Sep, 2005
1 commit
  • UpdatePermissionLookup and friends change the object passed to them, and ...
    6e02ab2b
    thus should be passed by reference.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3572 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-09-15 08:42:31 +0000  
    Browse File »

02 Aug, 2005
1 commit
  • Use all groups the user is a member of, including via nested groups. ...
    2fd73695
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3541 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-08-02 13:11:58 +0000  
    Browse File »

31 Jul, 2005
1 commit
  • Add support for arbitrary permissions (not just read and write). ...
    f98b1486
    Documentation of the new system in docs/Permission.txt
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3500 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-07-31 08:39:27 +0000  
    Browse File »