View | Details | Raw Unified | Return to bug 13632
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc (+103 lines)
Line 0 Link Here
1
[%- BLOCK main_permissions -%]
2
    [% SWITCH name %]
3
    [%- CASE 'superlibrarian' -%]<span>Access to all librarian functions</span>
4
    [%- CASE 'circulate' -%]<span>Check out and check in items</span>
5
    [%- CASE 'catalogue' -%]<span><b>Required for staff login.</b> Staff access, allows viewing of catalogue in staff client.</span>
6
    [%- CASE 'parameters' -%]<span>Manage Koha system settings (Administration panel)</span>
7
    [%- CASE 'borrowers' -%]<span>Add or modify patrons</span>
8
    [%- CASE 'permissions' -%]<span>Set user permissions</span>
9
    [%- CASE 'reserveforothers' -%]<span>Place and modify holds for patrons</span>
10
    [%- CASE 'editcatalogue' -%]<span>Edit catalog (Modify bibliographic/holdings data)</span>
11
    [%- CASE 'updatecharges' -%]<span>Manage patrons fines and fees</span>
12
    [%- CASE 'acquisition' -%]<span>Acquisition and/or suggestion management</span>
13
    [%- CASE 'management' -%]<span>Set library management parameters (deprecated)</span>
14
    [%- CASE 'tools' -%]<span>Use all tools (expand for granular tools permissions)</span>
15
    [%- CASE 'editauthorities' -%]<span>Edit authorities</span>
16
    [%- CASE 'serials' -%]<span>Manage serial subscriptions</span>
17
    [%- CASE 'reports' -%]<span>Allow access to the reports module</span>
18
    [%- CASE 'staffaccess' -%]<span>Allow staff members to modify permissions for other staff members</span>
19
    [%- CASE 'coursereserves' -%]<span>Course reserves</span>
20
    [%- CASE 'plugins' -%]<span>Koha plugins</span>
21
    [%- CASE 'lists' -%]<span>Lists</span>
22
    [%- END -%]
23
[%- END -%]
24
25
[%- BLOCK sub_permissions -%]
26
    [% SWITCH name %]
27
    [%- CASE 'circulate_remaining_permissions' -%]<span>Remaining circulation permissions</span>
28
    [%- CASE 'force_checkout' -%]<span>Force checkout if a limitation exists</span>
29
    [%- CASE 'manage_restrictions' -%]<span>Manage restrictions for accounts</span>
30
    [%- CASE 'overdues_report' -%]<span>Execute overdue items report</span>
31
    [%- CASE 'override_renewals' -%]<span>Override blocked renewals</span>
32
    [%- CASE 'manage_circ_rules' -%]<span>manage circulation rules</span>
33
    [%- CASE 'parameters_remaining_permissions' -%]<span>Remaining system parameters permissions</span>
34
    [%- CASE 'modify_holds_priority' -%]<span>Modify holds priority</span>
35
    [%- CASE 'place_holds' -%]<span>Place holds for patrons</span>
36
    [%- CASE 'delete_all_items' -%]<span>Delete all items at once</span>
37
    [%- CASE 'edit_catalogue' -%]<span>Edit catalog (Modify bibliographic/holdings data)</span>
38
    [%- CASE 'edit_items' -%]<span>Edit items</span>
39
    [%- CASE 'edit_items_restricted' -%]<span>Limit item modification to subfields defined in the SubfieldsToAllowForRestrictedEditing preference (please note that edit_item is still required)</span>
40
    [%- CASE 'fast_cataloging' -%]<span>Fast cataloging</span>
41
    [%- CASE 'remaining_permissions' -%]<span>Remaining permissions for managing fines and fees</span>
42
    [%- CASE 'writeoff' -%]<span>Write off fines and fees</span>
43
    [%- CASE 'budget_add_del' -%]<span>Add and delete budgets (but can't modify budgets)</span>
44
    [%- CASE 'budget_manage' -%]<span>Manage budgets</span>
45
    [%- CASE 'budget_manage_all' -%]<span>Manage all budgets</span>
46
    [%- CASE 'budget_modify' -%]<span>Modify budget (can't create lines, but can modify existing ones)</span>
47
    [%- CASE 'contracts_manage' -%]<span>Manage contracts</span>
48
    [%- CASE 'group_manage' -%]<span>Manage orders & basketgroups</span>
49
    [%- CASE 'order_manage' -%]<span>Manage orders & basket</span>
50
    [%- CASE 'order_manage_all' -%]<span>Manage all orders and baskets, regardless of restrictions on them</span>
51
    [%- CASE 'order_receive' -%]<span>Manage orders & basket</span>
52
    [%- CASE 'period_manage' -%]<span>Manage periods</span>
53
    [%- CASE 'planning_manage' -%]<span>Manage budget plannings</span>
54
    [%- CASE 'vendors_manage' -%]<span>Manage vendors</span>
55
    [%- CASE 'batch_upload_patron_images' -%]<span>Upload patron images in a batch or one at a time</span>
56
    [%- CASE 'delete_anonymize_patrons' -%]<span>Delete old borrowers and anonymize circulation history (deletes borrower reading history)</span>
57
    [%- CASE 'edit_calendar' -%]<span>Define days when the library is closed</span>
58
    [%- CASE 'edit_news' -%]<span>Write news for the OPAC and staff interfaces</span>
59
    [%- CASE 'edit_notice_status_triggers' -%]<span>Set notice/status triggers for overdue items</span>
60
    [%- CASE 'edit_notices' -%]<span>Define notices</span>
61
    [%- CASE 'edit_patrons' -%]<span>Perform batch modification of patrons</span>
62
    [%- CASE 'edit_quotes' -%]<span>Edit quotes for quote-of-the-day feature</span>
63
    [%- CASE 'export_catalog' -%]<span>Export bibliographic and holdings data</span>
64
    [%- CASE 'import_patrons' -%]<span>Import patron data</span>
65
    [%- CASE 'inventory' -%]<span>Perform inventory (stocktaking) of your catalog</span>
66
    [%- CASE 'items_batchdel' -%]<span>Perform batch deletion of items</span>
67
    [%- CASE 'items_batchmod' -%]<span>Perform batch modification of items</span>
68
    [%- CASE 'items_batchmod_restricted' -%]<span>Limit batch item modification to subfields defined in the SubfieldsToAllowForRestrictedBatchmod preference (please note that items_batchmod is still required)</span>
69
    [%- CASE 'label_creator' -%]<span>Create printable labels and barcodes from catalog and patron data</span>
70
    [%- CASE 'manage_csv_profiles' -%]<span>Manage CSV export profiles</span>
71
    [%- CASE 'manage_patron_lists' -%]<span>Add, edit and delete patron lists and their contents</span>
72
    [%- CASE 'manage_staged_marc' -%]<span>Managed staged MARC records, including completing and reversing imports</span>
73
    [%- CASE 'marc_modification_templates' -%]<span>Manage marc modification templates</span>
74
    [%- CASE 'moderate_comments' -%]<span>Moderate patron comments</span>
75
    [%- CASE 'moderate_tags' -%]<span>Moderate patron tags</span>
76
    [%- CASE 'records_batchdel' -%]<span>Perform batch deletion of records (bibliographic or authority)</span>
77
    [%- CASE 'records_batchmod' -%]<span>Perform batch modification of records (biblios or authorities)</span>
78
    [%- CASE 'rotating_collections' -%]<span>Manage rotating collections</span>
79
    [%- CASE 'schedule_tasks' -%]<span>Schedule tasks to run</span>
80
    [%- CASE 'stage_marc_import' -%]<span>Stage MARC records into the reservoir</span>
81
    [%- CASE 'upload_local_cover_images' -%]<span>Upload local cover images</span>
82
    [%- CASE 'view_system_logs' -%]<span>Browse the system logs</span>
83
    [%- CASE 'check_expiration' -%]<span>Check the expiration of a serial</span>
84
    [%- CASE 'claim_serials' -%]<span>Claim missing serials</span>
85
    [%- CASE 'create_subscription' -%]<span>Create a new subscription</span>
86
    [%- CASE 'delete_subscription' -%]<span>Delete an existing subscription</span>
87
    [%- CASE 'edit_subscription' -%]<span>Edit an existing subscription</span>
88
    [%- CASE 'receive_serials' -%]<span>Serials receiving</span>
89
    [%- CASE 'renew_subscription' -%]<span>Renew a subscription</span>
90
    [%- CASE 'routing' -%]<span>Routing</span>
91
    [%- CASE 'superserials' -%]<span>Manage subscriptions from any branch (only applies when IndependentBranches is used)</span>
92
    [%- CASE 'create_reports' -%]<span>Create SQL reports</span>
93
    [%- CASE 'execute_reports' -%]<span>Execute SQL reports</span>
94
    [%- CASE 'add_reserves' -%]<span>Add course reserves</span>
95
    [%- CASE 'delete_reserves' -%]<span>Remove course reserves</span>
96
    [%- CASE 'manage_courses' -%]<span>Add, edit and delete courses</span>
97
    [%- CASE 'configure' -%]<span>Configure plugins</span>
98
    [%- CASE 'manage' -%]<span>Manage plugins ( install / uninstall )</span>
99
    [%- CASE 'report' -%]<span>Use report plugins</span>
100
    [%- CASE 'tool' -%]<span>Use tool plugins</span>
101
    [%- CASE 'delete_public_lists' -%]<span>Delete public lists</span>
102
    [%- END -%]
103
[%- END -%]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tt (-3 / +3 lines)
Lines 1-3 Link Here
1
[% PROCESS 'permissions.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Patrons &rsaquo; Set permissions for [% surname %], [% firstname %]</title>
3
<title>Koha &rsaquo; Patrons &rsaquo; Set permissions for [% surname %], [% firstname %]</title>
3
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/treeview/jquery.treeview.css"/>
4
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/treeview/jquery.treeview.css"/>
Lines 131-137 Link Here
131
				<input type="checkbox" id="flag-[% loo.bit %]" name="flag" value="[% loo.flag %]"  onclick="toggleChildren(this)" />
132
				<input type="checkbox" id="flag-[% loo.bit %]" name="flag" value="[% loo.flag %]"  onclick="toggleChildren(this)" />
132
			[% END %]
133
			[% END %]
133
                <label class="permissioncode" for="flag-[% loo.bit %]">[% loo.flag %]</label>
134
                <label class="permissioncode" for="flag-[% loo.bit %]">[% loo.flag %]</label>
134
                <span class="permissiondesc">[% loo.flagdesc %]</span>
135
                <span class="permissiondesc">[% PROCESS main_permissions name=loo.flag %]</span>
135
            [% IF ( loo.sub_perm_loop ) %]
136
            [% IF ( loo.sub_perm_loop ) %]
136
                <ul id="flag-[% loo.bit %]-children">
137
                <ul id="flag-[% loo.bit %]-children">
137
                    [% FOREACH sub_perm_loo IN loo.sub_perm_loop %]
138
                    [% FOREACH sub_perm_loo IN loo.sub_perm_loop %]
Lines 142-148 Link Here
142
			                <input type="checkbox" id="[% sub_perm_loo.id %]" name="flag" value="[% sub_perm_loo.perm %]" onclick="toggleParent(this)" />
143
			                <input type="checkbox" id="[% sub_perm_loo.id %]" name="flag" value="[% sub_perm_loo.perm %]" onclick="toggleParent(this)" />
143
			            [% END %]
144
			            [% END %]
144
                    <label class="permissioncode" for="[% sub_perm_loo.id %]">[% sub_perm_loo.code %]</label>
145
                    <label class="permissioncode" for="[% sub_perm_loo.id %]">[% sub_perm_loo.code %]</label>
145
                             <span class="permissiondesc">[% sub_perm_loo.description %]</span>
146
                             <span class="permissiondesc">[% PROCESS sub_permissions name=sub_perm_loo.code %]</span>
146
                        </li>
147
                        </li>
147
                    [% END %]
148
                    [% END %]
148
                </ul>
149
                </ul>
149
- 

Return to bug 13632