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. ...
    cbc1144a
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5196 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2006-04-06 08:49:07 +0000  
    Browse File »

05 Apr, 2006
1 commit
  • Correct the signedness on the "empty only" option to ...
    4c450814
    rebuildPermissionLookups.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5182 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm 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 ...
    d0b48d58
    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
    nbm authored
    2006-03-29 11:32:24 +0000  
    Browse File »

24 Mar, 2006
1 commit
  • - add and enable caching (properly) ...
    74f665b1
    - 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
    bshuttle authored
    2006-03-24 15:10:04 +0000  
    Browse File »

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

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

28 Feb, 2006
2 commits
  • fix for browseable folder id-bug. ...
    7e5aae3a
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5029 c91229c3-7414-0410-bfa2-8a42b809f60b
    bshuttle authored
    2006-02-28 18:10:26 +0000  
    Browse File »
  • Add copyright notices to those files that didn't have them. ...
    421655b8
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5027 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm 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 ...
    a981eb32
    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
    nbm authored
    2006-02-19 09:37:34 +0000  
    Browse File »

09 Feb, 2006
1 commit
  • Include workflowutil.inc.php for access to KTWorkflowUtil ...
    e7f3df7b
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4876 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm 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) ...
    6a19246c
    - 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
    bshuttle authored
    2006-02-03 15:16:43 +0000  
    Browse File »
  • Override permissions based on the state of the document. ...
    dc09225b
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4807 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm authored
    2006-02-03 12:58:14 +0000  
    Browse File »

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

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

30 Dec, 2005
1 commit
  • Add rebuildPermissionLookups, which will rebuild all permission lookups ...
    719b8c47
    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
    nbm authored
    2005-12-30 08:13:12 +0000  
    Browse File »

15 Dec, 2005
2 commits
  • - role allocations now can be used to control permissions. ...
    fdaa37e8
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4458 c91229c3-7414-0410-bfa2-8a42b809f60b
    bshuttle authored
    2005-12-15 12:42:51 +0000  
    Browse File »
  • - add role-allocations ...
    cc6510fe
    - 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
    bshuttle 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 ...
    70e276ff
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4290 c91229c3-7414-0410-bfa2-8a42b809f60b
    bshuttle 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 ...
    7067c4fa
    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
    nbm authored
    2005-11-16 12:16:19 +0000  
    Browse File »

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

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

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

21 Sep, 2005
1 commit
  • Deal with the case where findRootObjectForPermissionObject is called on ...
    0f2f79fb
    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
    nbm 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 ...
    b93b8082
    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
    nbm 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. ...
    e4b049e7
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3541 c91229c3-7414-0410-bfa2-8a42b809f60b
    nbm 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). ...
    6e85fb54
    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
    nbm authored
    2005-07-31 08:39:27 +0000  
    Browse File »