Changes between Version 12 and Version 13 of FineGrainedPageAuthzEditorPlugin
- Timestamp:
- Oct 21, 2009, 7:10:28 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FineGrainedPageAuthzEditorPlugin
v12 v13 7 7 A more elaborate editor was considered where sections could be selected, then the user/group to give permission to. However this was considered to be overly complicated and bloated. 8 8 9 The plugin takes the group information from the groups file and will put it at the head of the authz file so th e same groups are used. If there isn't a group file, the groups section should remain intact. Ideally this would be a link.9 The plugin takes the group information from the groups file and will put it at the head of the authz file so that the same groups are used. If there isn't a group file, the groups section should remain intact. Ideally this would be a link. 10 10 11 '''After creating or modifying the main group file, to include the changed group definitions the editor page should be opened and then 'Apply Changes' clicked.'''11 '''After creating or modifying the main group file, to include the changed group definitions, the editor page should be opened and then 'Apply Changes' clicked.''' 12 12 13 13 A check that the entered text can be parsed as an ini config file is done prior to saving. 14 14 15 15 16 [[Image(screen.jpg, 150px)]]. 16 17 17 18 The naming and positioning of this plugin may change in the light of feedback. 19 20 21 == File Locations == 22 23 The plugin tries to find the names of the files it has to work with from the config object that reads them in from the normal config file for a Trac project, They maybe specifed in a project specific file or an inherited one. 24 25 The list of users are obtained form the account_manager object that will could have read them from password_file specified under the account-manager section. 26 27 [account-manager] 28 29 password_file = /some/project/directory/users 30 31 32 33 For the group file it is looked for under the account-manager section and the name group_file. If this fails it then looks under the htgroups section. 34 35 36 [account-manager] 37 38 group_file = /some/project/directory/groups 39 40 or 41 42 [htgroups] 43 44 group_file = /some/project/directory/groups 45 46 47 The authz policy file name is under the authz_policy policy section and the name authz_file. 48 49 [authz_policy] 50 51 authz_file = /some/project/directory/authzpolicy.conf 52 18 53 19 54 == Dependencies ==