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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc (+195 lines)
Line 0 Link Here
1
[%- BLOCK main_permissions -%]
2
[% SWITCH name %]
3
[%- CASE 'superlibrarian' -%]
4
Access to all librarian functions
5
[%- CASE 'circulate' -%]
6
Check out and check in items
7
[%- CASE 'catalogue' -%]
8
<b>Required for staff login.</b> Staff access, allows viewing of catalogue in staff client.
9
[%- CASE 'parameters' -%]
10
Manage Koha system settings (Administration panel)
11
[%- CASE 'borrowers' -%]
12
Add or modify patrons
13
[%- CASE 'permissions' -%]
14
Set user permissions
15
[%- CASE 'reserveforothers' -%]
16
Place and modify holds for patrons
17
[%- CASE 'borrow' -%]
18
Borrow books
19
[%- CASE 'editcatalogue' -%]
20
Edit catalog (Modify bibliographic/holdings data)
21
[%- CASE 'updatecharges' -%]
22
Manage patrons fines and fees
23
[%- CASE 'acquisition' -%]
24
Acquisition and/or suggestion management
25
[%- CASE 'management' -%]
26
Set library management parameters (deprecated)
27
[%- CASE 'tools' -%]
28
Use all tools (expand for granular tools permissions)
29
[%- CASE 'editauthorities' -%]
30
Edit authorities
31
[%- CASE 'serials' -%]
32
Manage serial subscriptions
33
[%- CASE 'reports' -%]
34
Allow access to the reports module
35
[%- CASE 'staffaccess' -%]
36
Allow staff members to modify permissions for other staff members
37
[%- CASE 'coursereserves' -%]
38
Course reserves
39
[%- CASE 'plugins' -%]
40
Koha plugins
41
[%- CASE -%]
42
[%- END -%]
43
[%- END -%]
44
45
[%- BLOCK sub_permissions -%]
46
[% SWITCH name %]
47
[%- CASE 'circulate_remaining_permissions' -%]
48
Remaining circulation permissions
49
[%- CASE 'force_checkout' -%]
50
Force checkout if a limitation exists
51
[%- CASE 'manage_restrictions' -%]
52
Manage restrictions for accounts
53
[%- CASE 'overdues_report' -%]
54
Execute overdue items report
55
[%- CASE 'override_renewals' -%]
56
Override blocked renewals
57
[%- CASE 'manage_circ_rules' -%]
58
manage circulation rules
59
[%- CASE 'parameters_remaining_permissions' -%]
60
Remaining system parameters permissions
61
[%- CASE 'modify_holds_priority' -%]
62
Modify holds priority
63
[%- CASE 'place_holds' -%]
64
Place holds for patrons
65
[%- CASE 'delete_all_items' -%]
66
Delete all items at once
67
[%- CASE 'edit_catalogue' -%]
68
Edit catalog (Modify bibliographic/holdings data)
69
[%- CASE 'edit_items' -%]
70
Edit items
71
[%- CASE 'edit_items_restricted' -%]
72
Limit item modification to subfields defined in the SubfieldsToAllowForRestrictedEditing preference (please note that edit_item is still required)
73
[%- CASE 'fast_cataloging' -%]
74
Fast cataloging
75
[%- CASE 'remaining_permissions' -%]
76
Remaining permissions for managing fines and fees
77
[%- CASE 'writeoff' -%]
78
Write off fines and fees
79
[%- CASE 'budget_add_del' -%]
80
Add and delete budgets (but can't modify budgets)
81
[%- CASE 'budget_manage' -%]
82
Manage budgets
83
[%- CASE 'budget_manage_all' -%]
84
Manage all budgets
85
[%- CASE 'budget_modify' -%]
86
Modify budget (can't create lines, but can modify existing ones)
87
[%- CASE 'contracts_manage' -%]
88
Manage contracts
89
[%- CASE 'group_manage' -%]
90
Manage orders & basketgroups
91
[%- CASE 'order_manage' -%]
92
Manage orders & basket
93
[%- CASE 'order_manage_all' -%]
94
Manage all orders and baskets, regardless of restrictions on them
95
[%- CASE 'order_receive' -%]
96
Manage orders & basket
97
[%- CASE 'period_manage' -%]
98
Manage periods
99
[%- CASE 'planning_manage' -%]
100
Manage budget plannings
101
[%- CASE 'vendors_manage' -%]
102
Manage vendors
103
[%- CASE 'batch_upload_patron_images' -%]
104
Upload patron images in a batch or one at a time
105
[%- CASE 'delete_anonymize_patrons' -%]
106
Delete old borrowers and anonymize circulation history (deletes borrower reading history)
107
[%- CASE 'edit_calendar' -%]
108
Define days when the library is closed
109
[%- CASE 'edit_news' -%]
110
Write news for the OPAC and staff interfaces
111
[%- CASE 'edit_notice_status_triggers' -%]
112
Set notice/status triggers for overdue items
113
[%- CASE 'edit_notices' -%]
114
Define notices
115
[%- CASE 'edit_patrons' -%]
116
Perform batch modification of patrons
117
[%- CASE 'edit_quotes' -%]
118
Edit quotes for quote-of-the-day feature
119
[%- CASE 'export_catalog' -%]
120
Export bibliographic and holdings data
121
[%- CASE 'import_patrons' -%]
122
Import patron data
123
[%- CASE 'inventory' -%]
124
Perform inventory (stocktaking) of your catalog
125
[%- CASE 'items_batchdel' -%]
126
Perform batch deletion of items
127
[%- CASE 'items_batchmod' -%]
128
Perform batch modification of items
129
[%- CASE 'items_batchmod_restricted' -%]
130
Limit batch item modification to subfields defined in the SubfieldsToAllowForRestrictedBatchmod preference (please note that items_batchmod is still required)
131
[%- CASE 'label_creator' -%]
132
Create printable labels and barcodes from catalog and patron data
133
[%- CASE 'manage_csv_profiles' -%]
134
Manage CSV export profiles
135
[%- CASE 'manage_patron_lists' -%]
136
Add, edit and delete patron lists and their contents
137
[%- CASE 'manage_staged_marc' -%]
138
Managed staged MARC records, including completing and reversing imports
139
[%- CASE 'marc_modification_templates' -%]
140
Manage marc modification templates
141
[%- CASE 'moderate_comments' -%]
142
Moderate patron comments
143
[%- CASE 'moderate_tags' -%]
144
Moderate patron tags
145
[%- CASE 'records_batchdel' -%]
146
Perform batch deletion of records (bibliographic or authority)
147
[%- CASE 'rotating_collections' -%]
148
Manage rotating collections
149
[%- CASE 'schedule_tasks' -%]
150
Schedule tasks to run
151
[%- CASE 'stage_marc_import' -%]
152
Stage MARC records into the reservoir
153
[%- CASE 'upload_local_cover_images' -%]
154
Upload local cover images
155
[%- CASE 'view_system_logs' -%]
156
Browse the system logs
157
[%- CASE 'check_expiration' -%]
158
Check the expiration of a serial
159
[%- CASE 'claim_serials' -%]
160
Claim missing serials
161
[%- CASE 'create_subscription' -%]
162
Create a new subscription
163
[%- CASE 'delete_subscription' -%]
164
Delete an existing subscription
165
[%- CASE 'edit_subscription' -%]
166
Edit an existing subscription
167
[%- CASE 'receive_serials' -%]
168
Serials receiving
169
[%- CASE 'renew_subscription' -%]
170
Renew a subscription
171
[%- CASE 'routing' -%]
172
Routing
173
[%- CASE 'superserials' -%]
174
Manage subscriptions from any branch (only applies when IndependentBranches is used)
175
[%- CASE 'create_reports' -%]
176
Create SQL reports
177
[%- CASE 'execute_reports' -%]
178
Execute SQL reports
179
[%- CASE 'add_reserves' -%]
180
Add course reserves
181
[%- CASE 'delete_reserves' -%]
182
Remove course reserves
183
[%- CASE 'manage_courses' -%]
184
Add, edit and delete courses
185
[%- CASE 'configure' -%]
186
Configure plugins
187
[%- CASE 'manage' -%]
188
Manage plugins ( install / uninstall )
189
[%- CASE 'report' -%]
190
Use report plugins
191
[%- CASE 'tool' -%]
192
Use tool plugins
193
[%- CASE -%]
194
[%- END -%]
195
[%- 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