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
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 Dir »

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 Dir »

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 Dir »

10 Mar, 2006
2 commits
  • Use caching for KTPermissionLookupAssignment::getByPermissionAndLookup ...
    e2ae39a2
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5072 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2006-03-10 09:25:07 +0000  
    Browse Dir »
  • Use caching for KTPermission::getByName ...
    92408215
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5071 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2006-03-10 09:23:35 +0000  
    Browse Dir »

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 Dir »

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 Dir »

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 Dir »
  • 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 Dir »

19 Feb, 2006
2 commits
  • Don't use array_intersect against just one array, just use the array ...
    7b107bf9
    directly.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4967 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2006-02-19 15:25:27 +0000  
    Browse Dir »
  • 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 Dir »

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 Dir »

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 Dir »
  • 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 Dir »

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 Dir »

20 Jan, 2006
2 commits
  • - 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 Dir »
  • Brad Shuttleworth 2006-01-20 KTS-106: Saved Searches cannot be deleted als... ...
    82e3b2e0
    Brad Shuttleworth 2006-01-20 KTS-153:  Complex conditionals edit page ca...
        Brad Shuttleworth 2006-01-20 if there are no permission descriptors, the...
        Brad Shuttleworth 2006-01-20 KTS-96:  username incorrectly filled in by ...
        Brad Shuttleworth 2006-01-20 KTS-111: extra helptext on default provider.
        Brad Shuttleworth 2006-01-20 fix for KTS-111
        Brad Shuttleworth 2006-01-20 KTS-139: remove comment about fieldset-crea...
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4616 c91229c3-7414-0410-bfa2-8a42b809f60b
    Brad Shuttleworth authored
    2006-01-20 10:13:47 +0000  
    Browse Dir »

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 Dir »

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 Dir »
  • - 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 Dir »

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 Dir »

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 Dir »

11 Nov, 2005
2 commits
  • KTPermissionDynamicCondition describes the group and condition part of ...
    d8b81846
    the dynamic permission assigned to a permission object.  It then allows
    for the assignment of permissions using saveAssignment.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3975 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-11-11 08:20:47 +0000  
    Browse Dir »
  • 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 Dir »

25 Oct, 2005
2 commits
  • 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 Dir »
  • Implement descriptor/user and descriptor/role handling. ...
    ea953845
    Modernise to use KTUtil::getTableName and getList2.
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3880 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-10-25 12:33:18 +0000  
    Browse Dir »

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 Dir »

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 Dir »

15 Sep, 2005
2 commits
  • 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 Dir »
  • Remove unnecessary empty lines that looked ugly ...
    cecf7c85
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3571 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-09-15 08:41:40 +0000  
    Browse Dir »

01 Sep, 2005
1 commit
  • Add an option for getByGroups to return ids rather than objects. ...
    07e3abe2
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3558 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-09-01 17:18:52 +0000  
    Browse Dir »

02 Aug, 2005
2 commits
  • By definition, if no groups are passed, then they don't have ...
    0b330503
    descriptors...
    
    
    git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3551 c91229c3-7414-0410-bfa2-8a42b809f60b
    Neil Blakey-Milner authored
    2005-08-02 15:31:30 +0000  
    Browse Dir »
  • 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 Dir »

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 Dir »