Changes between Version 28 and Version 29 of TracFineGrainedPermissions
- Timestamp:
- Feb 15, 2011, 5:20:40 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracFineGrainedPermissions
v28 v29 90 90 john = BROWSER_VIEW, FILE_VIEW 91 91 92 93 92 # All repositories: 94 93 [repository:*@*] 95 94 jack = BROWSER_VIEW, FILE_VIEW 95 96 # Very fine grain access: 97 [repository:test_repo@*/source:/@*] 98 anonymous = BROWSER_VIEW 99 100 [repository:test_repo@*/source:trunk@*] 101 anonymous = BROWSER_VIEW 102 103 [repository:test_repo@*/source:trunk/src@*] 104 anonymous = BROWSER_VIEW 105 106 [repository:test_repo@*/source:trunk/src/*@*] 107 anonymous = BROWSER_VIEW, FILE_VIEW 108 109 [repository:test_repo@*] 110 anonymous = CHANGESET_VIEW 111 96 112 }}} 97 113 98 114 Then: 99 - All versions of test_repo will be viewable by john 100 - All versions of all repositories will be viewable by jack 115 - All versions/files of test_repo will be viewable by john 116 - All versions/files of all repositories will be viewable by jack 117 - anonymous will only have FILE_VIEW on files within the test_repo repository at the exact location: trunk/src/ 118 - anonymous will also have CHANGESET_VIEW for the test_repo repository (see following note) 119 120 Note: It is important to know that the order in which you configure permissions must be maintained. If we were to add the CHANGESET_VIEW permissions for anonymous before declaring the other permissions, you would find the user anonymous would only have CHANGESET_VIEW permissions for test_repo, and nothing else. 101 121 102 122