@@ -, +, @@ - Open the "Set permissions" page for any patron. - Confirm that the filter works correctly to show only lines which match your entry - Note that the superlibrarian line stays visible all the time. This is to make it clearer that sub-permissions cannot be selected if superlibrarian is checked. - Check the superlibrarain "hint" text for clarity. - Test the show/hide controls. - Test that checking a "parent" permission displays the sub-permissions. - Test that changing and saving permissions works correctly. --- .../lib/jquery/plugins/jquery.treeview.pack.js | 16 -- koha-tmpl/intranet-tmpl/prog/css/staff-global.css | 72 ++++++- .../prog/css/treeview/images/file.gif | Bin 110 -> 0 bytes .../prog/css/treeview/images/folder-closed.gif | Bin 105 -> 0 bytes .../prog/css/treeview/images/folder.gif | Bin 106 -> 0 bytes .../prog/css/treeview/images/minus.gif | Bin 837 -> 0 bytes .../prog/css/treeview/images/plus.gif | Bin 841 -> 0 bytes .../css/treeview/images/treeview-black-line.gif | Bin 1877 -> 0 bytes .../prog/css/treeview/images/treeview-black.gif | Bin 1216 -> 0 bytes .../css/treeview/images/treeview-default-line.gif | Bin 1993 -> 0 bytes .../prog/css/treeview/images/treeview-default.gif | Bin 1222 -> 0 bytes .../treeview/images/treeview-famfamfam-line.gif | Bin 807 -> 0 bytes .../css/treeview/images/treeview-famfamfam.gif | Bin 1280 -> 0 bytes .../css/treeview/images/treeview-gray-line.gif | Bin 1877 -> 0 bytes .../prog/css/treeview/images/treeview-gray.gif | Bin 1230 -> 0 bytes .../prog/css/treeview/images/treeview-red-line.gif | Bin 1877 -> 0 bytes .../prog/css/treeview/images/treeview-red.gif | Bin 1230 -> 0 bytes .../prog/css/treeview/jquery.treeview.css | 69 ------- .../intranet-tmpl/prog/en/includes/permissions.inc | 222 ++++++++++----------- .../prog/en/modules/members/member-flags.tt | 204 +++++++++---------- 20 files changed, 271 insertions(+), 312 deletions(-) delete mode 100644 koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.treeview.pack.js delete mode 100644 koha-tmpl/intranet-tmpl/prog/css/treeview/images/file.gif delete mode 100644 koha-tmpl/intranet-tmpl/prog/css/treeview/images/folder-closed.gif delete mode 100644 koha-tmpl/intranet-tmpl/prog/css/treeview/images/folder.gif delete mode 100644 koha-tmpl/intranet-tmpl/prog/css/treeview/images/minus.gif delete mode 100644 koha-tmpl/intranet-tmpl/prog/css/treeview/images/plus.gif delete mode 100644 koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-black-line.gif delete mode 100644 koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-black.gif delete mode 100644 koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-default-line.gif delete mode 100644 koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-default.gif delete mode 100644 koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-famfamfam-line.gif delete mode 100644 koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-famfamfam.gif delete mode 100644 koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-gray-line.gif delete mode 100644 koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-gray.gif delete mode 100644 koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-red-line.gif delete mode 100644 koha-tmpl/intranet-tmpl/prog/css/treeview/images/treeview-red.gif delete mode 100644 koha-tmpl/intranet-tmpl/prog/css/treeview/jquery.treeview.css --- a/koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.treeview.pack.js +++ a/koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.treeview.pack.js @@ -1,16 +0,0 @@ -/* - * Treeview 1.4 - jQuery plugin to hide and show branches of a tree - * - * http://bassistance.de/jquery-plugins/jquery-plugin-treeview/ - * http://docs.jquery.com/Plugins/Treeview - * - * Copyright (c) 2007 Jörn Zaefferer - * - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html - * - * Revision: $Id: jquery.treeview.js 4684 2008-02-07 19:08:06Z joern.zaefferer $ - * - */ -eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}(';(4($){$.1l($.F,{E:4(b,c){l a=3.n(\'.\'+b);3.n(\'.\'+c).o(c).m(b);a.o(b).m(c);8 3},s:4(a,b){8 3.n(\'.\'+a).o(a).m(b).P()},1n:4(a){a=a||"1j";8 3.1j(4(){$(3).m(a)},4(){$(3).o(a)})},1h:4(b,a){b?3.1g({1e:"p"},b,a):3.x(4(){T(3)[T(3).1a(":U")?"H":"D"]();7(a)a.A(3,O)})},12:4(b,a){7(b){3.1g({1e:"D"},b,a)}1L{3.D();7(a)3.x(a)}},11:4(a){7(!a.1k){3.n(":r-1H:G(9)").m(k.r);3.n((a.1F?"":"."+k.X)+":G(."+k.W+")").6(">9").D()}8 3.n(":y(>9)")},S:4(b,c){3.n(":y(>9):G(:y(>a))").6(">1z").C(4(a){c.A($(3).19())}).w($("a",3)).1n();7(!b.1k){3.n(":y(>9:U)").m(k.q).s(k.r,k.t);3.G(":y(>9:U)").m(k.u).s(k.r,k.v);3.1r("").6("J."+k.5).x(4(){l a="";$.x($(3).B().1o("14").13(" "),4(){a+=3+"-5 "});$(3).m(a)})}3.6("J."+k.5).C(c)},z:4(g){g=$.1l({N:"z"},g);7(g.w){8 3.1K("w",[g.w])}7(g.p){l d=g.p;g.p=4(){8 d.A($(3).B()[0],O)}}4 1m(b,c){4 L(a){8 4(){K.A($("J."+k.5,b).n(4(){8 a?$(3).B("."+a).1i:1I}));8 1G}}$("a:10(0)",c).C(L(k.u));$("a:10(1)",c).C(L(k.q));$("a:10(2)",c).C(L())}4 K(){$(3).B().6(">.5").E(k.Z,k.Y).E(k.I,k.M).P().E(k.u,k.q).E(k.v,k.t).6(">9").1h(g.1f,g.p);7(g.1E){$(3).B().1D().6(">.5").s(k.Z,k.Y).s(k.I,k.M).P().s(k.u,k.q).s(k.v,k.t).6(">9").12(g.1f,g.p)}}4 1d(){4 1C(a){8 a?1:0}l b=[];j.x(4(i,e){b[i]=$(e).1a(":y(>9:1B)")?1:0});$.V(g.N,b.1A(""))}4 1c(){l b=$.V(g.N);7(b){l a=b.13("");j.x(4(i,e){$(e).6(">9")[1y(a[i])?"H":"D"]()})}}3.m("z");l j=3.6("Q").11(g);1x(g.1w){18"V":l h=g.p;g.p=4(){1d();7(h){h.A(3,O)}};1c();17;18"1b":l f=3.6("a").n(4(){8 3.16.15()==1b.16.15()});7(f.1i){f.m("1v").1u("9, Q").w(f.19()).H()}17}j.S(g,K);7(g.R){1m(3,g.R);$(g.R).H()}8 3.1t("w",4(a,b){$(b).1s().o(k.r).o(k.v).o(k.t).6(">.5").o(k.I).o(k.M);$(b).6("Q").1q().11(g).S(g,K)})}});l k=$.F.z.1J={W:"W",X:"X",q:"q",Y:"q-5",M:"t-5",u:"u",Z:"u-5",I:"v-5",v:"v",t:"t",r:"r",5:"5"};$.F.1p=$.F.z})(T);',62,110,'|||this|function|hitarea|find|if|return|ul||||||||||||var|addClass|filter|removeClass|toggle|expandable|last|replaceClass|lastExpandable|collapsable|lastCollapsable|add|each|has|treeview|apply|parent|click|hide|swapClass|fn|not|show|lastCollapsableHitarea|div|toggler|handler|lastExpandableHitarea|cookieId|arguments|end|li|control|applyClasses|jQuery|hidden|cookie|open|closed|expandableHitarea|collapsableHitarea|eq|prepareBranches|heightHide|split|class|toLowerCase|href|break|case|next|is|location|deserialize|serialize|height|animated|animate|heightToggle|length|hover|prerendered|extend|treeController|hoverClass|attr|Treeview|andSelf|prepend|prev|bind|parents|selected|persist|switch|parseInt|span|join|visible|binary|siblings|unique|collapsed|false|child|true|classes|trigger|else'.split('|'),0,{})) --- a/koha-tmpl/intranet-tmpl/prog/css/staff-global.css +++ a/koha-tmpl/intranet-tmpl/prog/css/staff-global.css @@ -1830,19 +1830,73 @@ tr.transfered td { color : #669900; } -/* Permissions Labels */ -label.permissioncode:before { - content: "("; +/* Permissions */ + + +#permissionstree { + display: inline-block; } -label.permissioncode:after { - content: ")"; +.main_permission { + font-size: 110%; + font-weight: bold; } -label.permissioncode { - font-style : italic; +.permissioncode { + font-style: italic; + color: #666; } -span.permissiondesc { - font-weight : normal; +.permission-highlight { + background-color: #FFC; +} +.togglechildren_on, +.togglechildren_off { + float: right; +} +.togglechildren_off, +.children { + display: none; +} +.open .togglechildren_off { + display: inline; +} +.open .togglechildren_on { + display: none; } +.parent { + border: 1px solid #DDD; + border-bottom-width: 0; + padding: 5px; +} +.parent:last-child { + border-bottom-width: 1px; +} +.parent:nth-child(odd) { + background-color: #F8F8F8; +} + +.superlibrarian-hint { + color: #000; + padding: .2em 0; + text-indent: 2em; +} + +.child-flags { + background-color: #FFF; + border: 1px solid #DDD; + border-bottom-width: 0; + padding: 5px; + margin: 0 5px 0 20px +} +.child-flags:first-child { + margin-top: 10px; +} +.child-flags:last-child { + border-bottom-width: 1px; +} +.child-flags:nth-child(odd) { + background-color: #EEE; +} + + #mainuserblock { border : 1px solid #E8E8E8; margin-top : .5em; --- a/koha-tmpl/intranet-tmpl/prog/css/treeview/jquery.treeview.css +++ a/koha-tmpl/intranet-tmpl/prog/css/treeview/jquery.treeview.css @@ -1,69 +0,0 @@ -.treeview, .treeview ul { - padding: 0; - margin: 0; - list-style: none; -} - -.treeview ul { - background-color: white; - margin-top: 4px; -} - -.treeview .hitarea { - background: url(images/treeview-default.gif) -64px -25px no-repeat; - height: 16px; - width: 16px; - margin-left: -16px; - float: left; - cursor: pointer; -} -/* fix for IE6 */ -* html .hitarea { - display: inline; - float:none; -} - -.treeview li { - margin: 0; - padding: 3px 0pt 3px 16px; - list-style: none; -} - -.treeview a.selected { - background-color: #eee; -} - -#treecontrol { margin: 1em 0; display: none; } - -.treeview .hover { color: red; cursor: pointer; } - -.treeview li { background: url(images/treeview-default-line.gif) 0 0 no-repeat; } -.treeview li.collapsable, .treeview li.expandable { background-position: 0 -176px; } - -.treeview .expandable-hitarea { background-position: -80px -3px; } - -.treeview li.last { background-position: 0 -1766px } -.treeview li.lastCollapsable, .treeview li.lastExpandable { background-image: url(images/treeview-default.gif); } -.treeview li.lastCollapsable { background-position: 0 -111px } -.treeview li.lastExpandable { background-position: -32px -67px } - -.treeview div.lastCollapsable-hitarea, .treeview div.lastExpandable-hitarea { background-position: 0; } - -.treeview-red li { background-image: url(images/treeview-red-line.gif); } -.treeview-red .hitarea, .treeview-red li.lastCollapsable, .treeview-red li.lastExpandable { background-image: url(images/treeview-red.gif); } - -.treeview-black li { background-image: url(images/treeview-black-line.gif); } -.treeview-black .hitarea, .treeview-black li.lastCollapsable, .treeview-black li.lastExpandable { background-image: url(images/treeview-black.gif); } - -.treeview-gray li { background-image: url(images/treeview-gray-line.gif); } -.treeview-gray .hitarea, .treeview-gray li.lastCollapsable, .treeview-gray li.lastExpandable { background-image: url(images/treeview-gray.gif); } - -.treeview-famfamfam li { background-image: url(images/treeview-famfamfam-line.gif); } -.treeview-famfamfam .hitarea, .treeview-famfamfam li.lastCollapsable, .treeview-famfamfam li.lastExpandable { background-image: url(images/treeview-famfamfam.gif); } - - -.filetree li { padding: 3px 0 2px 16px; } -.filetree span.folder, .filetree span.file { padding: 1px 0 1px 16px; display: block; } -.filetree span.folder { background: url(images/folder.gif) 0 0 no-repeat; } -.filetree li.expandable span.folder { background: url(images/folder-closed.gif) 0 0 no-repeat; } -.filetree span.file { background: url(images/file.gif) 0 0 no-repeat; } --- a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc @@ -1,121 +1,121 @@ [%- BLOCK main_permissions -%] [% SWITCH name %] - [%- CASE 'superlibrarian' -%]Access to all librarian functions - [%- CASE 'circulate' -%]Check out and check in items - [%- CASE 'catalogue' -%]Required for staff login. Staff access, allows viewing of catalogue in staff client. - [%- CASE 'parameters' -%]Manage Koha system settings (Administration panel) - [%- CASE 'borrowers' -%]Add, modify and view patron information - [%- CASE 'permissions' -%]Set user permissions - [%- CASE 'reserveforothers' -%]Place and modify holds for patrons - [%- CASE 'editcatalogue' -%]Edit catalog (Modify bibliographic/holdings data) - [%- CASE 'updatecharges' -%]Manage patrons fines and fees - [%- CASE 'acquisition' -%]Acquisition and/or suggestion management - [%- CASE 'tools' -%]Use all tools (expand for granular tools permissions) - [%- CASE 'editauthorities' -%]Edit authorities - [%- CASE 'serials' -%]Manage serial subscriptions - [%- CASE 'reports' -%]Allow access to the reports module - [%- CASE 'staffaccess' -%]Allow staff members to modify permissions for other staff members - [%- CASE 'coursereserves' -%]Course reserves - [%- CASE 'plugins' -%]Koha plugins - [%- CASE 'lists' -%]Lists - [%- CASE 'clubs' -%]Patron clubs - [%- CASE 'ill' -%]Create and modify Interlibrary loan requests - [%- CASE 'self_check' -%]Self check modules + [%- CASE 'superlibrarian' -%]Access to all librarian functions ([% name %]) + [%- CASE 'circulate' -%]Check out and check in items ([% name %]) + [%- CASE 'catalogue' -%]Staff access, allows viewing of catalogue in staff client. ([% name %]) Required for staff login. + [%- CASE 'parameters' -%]Manage Koha system settings (Administration panel) ([% name %]) + [%- CASE 'borrowers' -%]Add, modify and view patron information ([% name %]) + [%- CASE 'permissions' -%]Set user permissions ([% name %]) + [%- CASE 'reserveforothers' -%]Place and modify holds for patrons ([% name %]) + [%- CASE 'editcatalogue' -%]Edit catalog (Modify bibliographic/holdings data) ([% name %]) + [%- CASE 'updatecharges' -%]Manage patrons fines and fees ([% name %]) + [%- CASE 'acquisition' -%]Acquisition and/or suggestion management ([% name %]) + [%- CASE 'tools' -%]Use all tools (expand for granular tools permissions) ([% name %]) + [%- CASE 'editauthorities' -%]Edit authorities ([% name %]) + [%- CASE 'serials' -%]Manage serial subscriptions ([% name %]) + [%- CASE 'reports' -%]Allow access to the reports module ([% name %]) + [%- CASE 'staffaccess' -%]Allow staff members to modify permissions for other staff members ([% name %]) + [%- CASE 'coursereserves' -%]Course reserves ([% name %]) + [%- CASE 'plugins' -%]Koha plugins ([% name %]) + [%- CASE 'lists' -%]Lists ([% name %]) + [%- CASE 'clubs' -%]Patron clubs ([% name %]) + [%- CASE 'ill' -%]Create and modify Interlibrary loan requests ([% name %]) + [%- CASE 'self_check' -%]Self check modules ([% name %]) [%- END -%] [%- END -%] [%- BLOCK sub_permissions -%] [% SWITCH name %] - [%- CASE 'circulate_remaining_permissions' -%]Remaining circulation permissions - [%- CASE 'force_checkout' -%]Force checkout if a limitation exists - [%- CASE 'manage_restrictions' -%]Manage restrictions for accounts - [%- CASE 'overdues_report' -%]Execute overdue items report - [%- CASE 'override_renewals' -%]Override blocked renewals - [%- CASE 'manage_checkout_notes' %]Mark checkout notes as seen/not seen - [%- CASE 'manage_circ_rules' -%]manage circulation rules - [%- CASE 'parameters_remaining_permissions' -%]Remaining system parameters permissions - [%- CASE 'edit_borrowers' -%]Add, modify and view patron information - [%- CASE 'view_borrower_infos_from_any_libraries' -%]View patron infos from any libraries. If not set the logged in user could only access patron infos from its own library or group of libraries. - [%- CASE 'modify_holds_priority' -%]Modify holds priority - [%- CASE 'place_holds' -%]Place holds for patrons - [%- CASE 'delete_all_items' -%]Delete all items at once - [%- CASE 'edit_catalogue' -%]Edit catalog (Modify bibliographic/holdings data) - [%- CASE 'edit_items' -%]Edit items - [%- CASE 'edit_items_restricted' -%]Limit item modification to subfields defined in the SubfieldsToAllowForRestrictedEditing preference (please note that edit_item is still required) - [%- CASE 'fast_cataloging' -%]Fast cataloging - [%- CASE 'remaining_permissions' -%]Remaining permissions for managing fines and fees - [%- CASE 'writeoff' -%]Write off fines and fees - [%- CASE 'suggestions_manage' -%]Manage purchase suggestions - [%- CASE 'budget_add_del' -%]Add and delete budgets (but can't modify budgets) - [%- CASE 'budget_manage' -%]Manage budgets - [%- CASE 'budget_manage_all' -%]Manage all budgets - [%- CASE 'budget_modify' -%]Modify budget (can't create lines, but can modify existing ones) - [%- CASE 'contracts_manage' -%]Manage contracts - [%- CASE 'group_manage' -%]Manage basket groups - [%- CASE 'order_manage' -%]Manage basket and order lines - [%- CASE 'order_manage_all' -%]Manage all baskets and order lines, regardless of restrictions on them - [%- CASE 'order_receive' -%]Receive orders and manage shipments - [%- CASE 'period_manage' -%]Manage budgets - [%- CASE 'planning_manage' -%]Manage budget plannings - [%- CASE 'vendors_manage' -%]Manage vendors - [%- CASE 'currencies_manage' -%]Manage currencies and exchange rates - [%- CASE 'batch_upload_patron_images' -%]Upload patron images in a batch or one at a time - [%- CASE 'delete_anonymize_patrons' -%]Delete old borrowers and anonymize circulation history (deletes borrower reading history) - [%- CASE 'edit_calendar' -%]Define days when the library is closed - [%- CASE 'edit_news' -%]Write news for the OPAC and staff interfaces - [%- CASE 'edit_notice_status_triggers' -%]Set notice/status triggers for overdue items - [%- CASE 'edit_notices' -%]Define notices - [%- CASE 'edit_patrons' -%]Perform batch modification of patrons - [%- CASE 'edit_quotes' -%]Edit quotes for quote-of-the-day feature - [%- CASE 'export_catalog' -%]Export bibliographic and holdings data - [%- CASE 'import_patrons' -%]Import patron data - [%- CASE 'inventory' -%]Perform inventory of your catalog - [%- CASE 'items_batchdel' -%]Perform batch deletion of items - [%- CASE 'items_batchmod' -%]Perform batch modification of items - [%- CASE 'items_batchmod_restricted' -%]Limit batch item modification to subfields defined in the SubfieldsToAllowForRestrictedBatchmod preference (please note that items_batchmod is still required) - [%- CASE 'label_creator' -%]Create printable labels and barcodes from catalog and patron data - [%- CASE 'manage_csv_profiles' -%]Manage CSV export profiles - [%- CASE 'manage_patron_lists' -%]Add, edit and delete patron lists and their contents - [%- CASE 'manage_staged_marc' -%]Managed staged MARC records, including completing and reversing imports - [%- CASE 'marc_modification_templates' -%]Manage marc modification templates - [%- CASE 'moderate_comments' -%]Moderate patron comments - [%- CASE 'moderate_tags' -%]Moderate patron tags - [%- CASE 'records_batchdel' -%]Perform batch deletion of records (bibliographic or authority) - [%- CASE 'records_batchmod' -%]Perform batch modification of records (biblios or authorities) - [%- CASE 'rotating_collections' -%]Manage rotating collections - [%- CASE 'schedule_tasks' -%]Schedule tasks to run - [%- CASE 'stage_marc_import' -%]Stage MARC records into the reservoir - [%- CASE 'upload_local_cover_images' -%]Upload local cover images - [%- CASE 'view_system_logs' -%]Browse the system logs - [%- CASE 'check_expiration' -%]Check the expiration of a serial - [%- CASE 'claim_serials' -%]Claim missing serials - [%- CASE 'create_subscription' -%]Create a new subscription - [%- CASE 'delete_subscription' -%]Delete an existing subscription - [%- CASE 'edit_subscription' -%]Edit an existing subscription - [%- CASE 'receive_serials' -%]Serials receiving - [%- CASE 'renew_subscription' -%]Renew a subscription - [%- CASE 'routing' -%]Routing - [%- CASE 'superserials' -%]Manage subscriptions from any branch (only applies when IndependentBranches is used) - [%- CASE 'delete_reports' -%]Delete SQL reports - [%- CASE 'create_reports' -%]Create SQL reports - [%- CASE 'execute_reports' -%]Execute SQL reports - [%- CASE 'add_reserves' -%]Add course reserves - [%- CASE 'delete_reserves' -%]Remove course reserves - [%- CASE 'manage_courses' -%]Add, edit and delete courses - [%- CASE 'configure' -%]Configure plugins - [%- CASE 'manage' -%]Manage plugins ( install / uninstall ) - [%- CASE 'report' -%]Use report plugins - [%- CASE 'tool' -%]Use tool plugins - [%- CASE 'delete_public_lists' -%]Delete public lists - [%- CASE 'upload_general_files' -%]Upload any file - [%- CASE 'upload_manage' -%]Manage uploaded files (Useless without upload_general_files) - [%- CASE 'access_files' -%]Access to the files stored on the server - [%- CASE 'edit_clubs' -%]Create and edit clubs - [%- CASE 'edit_templates' -%]Create and edit club templates - [%- CASE 'enroll' -%]Enroll patrons in clubs - [%- CASE 'edi_manage' -%]Manage EDIFACT transmissions + [%- CASE 'circulate_remaining_permissions' -%]Remaining circulation permissions ([% name %]) + [%- CASE 'force_checkout' -%]Force checkout if a limitation exists ([% name %]) + [%- CASE 'manage_restrictions' -%]Manage restrictions for accounts ([% name %]) + [%- CASE 'overdues_report' -%]Execute overdue items report ([% name %]) + [%- CASE 'override_renewals' -%]Override blocked renewals ([% name %]) + [%- CASE 'manage_checkout_notes' %]Mark checkout notes as seen/not seen ([% name %]) + [%- CASE 'manage_circ_rules' -%]manage circulation rules ([% name %]) + [%- CASE 'parameters_remaining_permissions' -%]Remaining system parameters permissions ([% name %]) + [%- CASE 'edit_borrowers' -%]Add, modify and view patron information ([% name %]) + [%- CASE 'view_borrower_infos_from_any_libraries' -%]View patron infos from any libraries. If not set the logged in user could only access patron infos from its own library or group of libraries. ([% name %]) + [%- CASE 'modify_holds_priority' -%]Modify holds priority ([% name %]) + [%- CASE 'place_holds' -%]Place holds for patrons ([% name %]) + [%- CASE 'delete_all_items' -%]Delete all items at once ([% name %]) + [%- CASE 'edit_catalogue' -%]Edit catalog (Modify bibliographic/holdings data) ([% name %]) + [%- CASE 'edit_items' -%]Edit items ([% name %]) + [%- CASE 'edit_items_restricted' -%]Limit item modification to subfields defined in the SubfieldsToAllowForRestrictedEditing preference (please note that edit_item is still required) ([% name %]) + [%- CASE 'fast_cataloging' -%]Fast cataloging ([% name %]) + [%- CASE 'remaining_permissions' -%]Remaining permissions for managing fines and fees ([% name %]) + [%- CASE 'writeoff' -%]Write off fines and fees ([% name %]) + [%- CASE 'suggestions_manage' -%]Manage purchase suggestions ([% name %]) + [%- CASE 'budget_add_del' -%]Add and delete budgets (but can't modify budgets) ([% name %]) + [%- CASE 'budget_manage' -%]Manage budgets ([% name %]) + [%- CASE 'budget_manage_all' -%]Manage all budgets ([% name %]) + [%- CASE 'budget_modify' -%]Modify budget (can't create lines, but can modify existing ones) ([% name %]) + [%- CASE 'contracts_manage' -%]Manage contracts ([% name %]) + [%- CASE 'group_manage' -%]Manage basket groups ([% name %]) + [%- CASE 'order_manage' -%]Manage basket and order lines ([% name %]) + [%- CASE 'order_manage_all' -%]Manage all baskets and order lines, regardless of restrictions on them ([% name %]) + [%- CASE 'order_receive' -%]Receive orders and manage shipments ([% name %]) + [%- CASE 'period_manage' -%]Manage budgets ([% name %]) + [%- CASE 'planning_manage' -%]Manage budget plannings ([% name %]) + [%- CASE 'vendors_manage' -%]Manage vendors ([% name %]) + [%- CASE 'currencies_manage' -%]Manage currencies and exchange rates ([% name %]) + [%- CASE 'batch_upload_patron_images' -%]Upload patron images in a batch or one at a time ([% name %]) + [%- CASE 'delete_anonymize_patrons' -%]Delete old borrowers and anonymize circulation history (deletes borrower reading history) ([% name %]) + [%- CASE 'edit_calendar' -%]Define days when the library is closed ([% name %]) + [%- CASE 'edit_news' -%]Write news for the OPAC and staff interfaces ([% name %]) + [%- CASE 'edit_notice_status_triggers' -%]Set notice/status triggers for overdue items ([% name %]) + [%- CASE 'edit_notices' -%]Define notices ([% name %]) + [%- CASE 'edit_patrons' -%]Perform batch modification of patrons ([% name %]) + [%- CASE 'edit_quotes' -%]Edit quotes for quote-of-the-day feature ([% name %]) + [%- CASE 'export_catalog' -%]Export bibliographic and holdings data ([% name %]) + [%- CASE 'import_patrons' -%]Import patron data ([% name %]) + [%- CASE 'inventory' -%]Perform inventory of your catalog ([% name %]) + [%- CASE 'items_batchdel' -%]Perform batch deletion of items ([% name %]) + [%- CASE 'items_batchmod' -%]Perform batch modification of items ([% name %]) + [%- CASE 'items_batchmod_restricted' -%]Limit batch item modification to subfields defined in the SubfieldsToAllowForRestrictedBatchmod preference (please note that items_batchmod is still required) ([% name %]) + [%- CASE 'label_creator' -%]Create printable labels and barcodes from catalog and patron data ([% name %]) + [%- CASE 'manage_csv_profiles' -%]Manage CSV export profiles ([% name %]) + [%- CASE 'manage_patron_lists' -%]Add, edit and delete patron lists and their contents ([% name %]) + [%- CASE 'manage_staged_marc' -%]Managed staged MARC records, including completing and reversing imports ([% name %]) + [%- CASE 'marc_modification_templates' -%]Manage marc modification templates ([% name %]) + [%- CASE 'moderate_comments' -%]Moderate patron comments ([% name %]) + [%- CASE 'moderate_tags' -%]Moderate patron tags ([% name %]) + [%- CASE 'records_batchdel' -%]Perform batch deletion of records (bibliographic or authority) ([% name %]) + [%- CASE 'records_batchmod' -%]Perform batch modification of records (biblios or authorities) ([% name %]) + [%- CASE 'rotating_collections' -%]Manage rotating collections ([% name %]) + [%- CASE 'schedule_tasks' -%]Schedule tasks to run ([% name %]) + [%- CASE 'stage_marc_import' -%]Stage MARC records into the reservoir ([% name %]) + [%- CASE 'upload_local_cover_images' -%]Upload local cover images ([% name %]) + [%- CASE 'view_system_logs' -%]Browse the system logs ([% name %]) + [%- CASE 'check_expiration' -%]Check the expiration of a serial ([% name %]) + [%- CASE 'claim_serials' -%]Claim missing serials ([% name %]) + [%- CASE 'create_subscription' -%]Create a new subscription ([% name %]) + [%- CASE 'delete_subscription' -%]Delete an existing subscription ([% name %]) + [%- CASE 'edit_subscription' -%]Edit an existing subscription ([% name %]) + [%- CASE 'receive_serials' -%]Serials receiving ([% name %]) + [%- CASE 'renew_subscription' -%]Renew a subscription ([% name %]) + [%- CASE 'routing' -%]Routing ([% name %]) + [%- CASE 'superserials' -%]Manage subscriptions from any branch (only applies when IndependentBranches is used) ([% name %]) + [%- CASE 'delete_reports' -%]Delete SQL reports ([% name %]) + [%- CASE 'create_reports' -%]Create SQL reports ([% name %]) + [%- CASE 'execute_reports' -%]Execute SQL reports ([% name %]) + [%- CASE 'add_reserves' -%]Add course reserves ([% name %]) + [%- CASE 'delete_reserves' -%]Remove course reserves ([% name %]) + [%- CASE 'manage_courses' -%]Add, edit and delete courses ([% name %]) + [%- CASE 'configure' -%]Configure plugins ([% name %]) + [%- CASE 'manage' -%]Manage plugins ( install / uninstall ) ([% name %]) + [%- CASE 'report' -%]Use report plugins ([% name %]) + [%- CASE 'tool' -%]Use tool plugins ([% name %]) + [%- CASE 'delete_public_lists' -%]Delete public lists ([% name %]) + [%- CASE 'upload_general_files' -%]Upload any file ([% name %]) + [%- CASE 'upload_manage' -%]Manage uploaded files (Useless without upload_general_files) ([% name %]) + [%- CASE 'access_files' -%]Access to the files stored on the server ([% name %]) + [%- CASE 'edit_clubs' -%]Create and edit clubs ([% name %]) + [%- CASE 'edit_templates' -%]Create and edit club templates ([% name %]) + [%- CASE 'enroll' -%]Enroll patrons in clubs ([% name %]) + [%- CASE 'edi_manage' -%]Manage EDIFACT transmissions ([% name %]) [%# self_check %] - [%- CASE 'self_checkin_module' -%]Log into the self check-in module. Note: this permission prevents the patron from using any other OPAC functionality - [%- CASE 'self_checkout_module' -%]Perform self checkout at the OPAC. It should be used for the patron matching the AutoSelfCheckID + [%- CASE 'self_checkin_module' -%]Log into the self check-in module. Note: this permission prevents the patron from using any other OPAC functionality ([% name %]) + [%- CASE 'self_checkout_module' -%]Perform self checkout at the OPAC. It should be used for the patron matching the AutoSelfCheckID ([% name %]) [%- END -%] [%- END -%] --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tt @@ -4,7 +4,6 @@ [% PROCESS 'permissions.inc' %] [% INCLUDE 'doc-head-open.inc' %] Koha › Patrons › Set permissions for [% patron.surname %], [% patron.firstname %] -[% Asset.css("css/treeview/jquery.treeview.css") %] [% INCLUDE 'doc-head-close.inc' %] @@ -26,53 +25,58 @@

Set permissions for [% patron.surname %], [% patron.firstname %]

- - + + [% END # /IF loo.sub_perm_loop %] + + [% END # /FOREACH loo %] +
Cancel
@@ -87,16 +91,41 @@ [% MACRO jsinclude BLOCK %] [% Asset.js("js/members-menu.js") %] - [% Asset.js("lib/jquery/plugins/jquery.treeview.pack.js") %] [% END %] --