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

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

Return to bug 13632