@@ -, +, @@ permission checks permission. This cannot be done through the user interface, however, but can be done via SQL: UPDATE borrowers SET flags = 3 WHERE userid = 'XXX'; an item at branch B. Note that there is no 'Edit Item' link. that the edit form forbids you from touching the item. modification utility. Note that it doesn't allow you to do so. be allowed. --- catalogue/moredetail.pl | 2 +- cataloguing/additem.pl | 2 +- tools/batchMod.pl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) --- a/catalogue/moredetail.pl +++ a/catalogue/moredetail.pl @@ -175,7 +175,7 @@ foreach my $item (@items){ if (C4::Context->preference("IndependentBranches")) { #verifying rights my $userenv = C4::Context->userenv(); - unless (($userenv->{'flags'} == 1) or ($userenv->{'branch'} eq $item->{'homebranch'})) { + unless (C4::Context->IsSuperLibrarian() or ($userenv->{'branch'} eq $item->{'homebranch'})) { $item->{'nomod'}=1; } } --- a/cataloguing/additem.pl +++ a/cataloguing/additem.pl @@ -698,7 +698,7 @@ foreach my $field (@fields) { if (($field->tag eq $branchtagfield) && ($subfieldcode eq $branchtagsubfield) && C4::Context->preference("IndependentBranches")) { #verifying rights my $userenv = C4::Context->userenv(); - unless (($userenv->{'flags'} == 1) or (($userenv->{'branch'} eq $subfieldvalue))){ + unless (C4::Context->IsSuperLibrarian() or (($userenv->{'branch'} eq $subfieldvalue))){ $this_row{'nomod'} = 1; } } --- a/tools/batchMod.pl +++ a/tools/batchMod.pl @@ -506,7 +506,7 @@ sub BuildItemsData{ if ($itembranchcode && C4::Context->preference("IndependentBranches")) { #verifying rights my $userenv = C4::Context->userenv(); - unless (($userenv->{'flags'} == 1) or (($userenv->{'branch'} eq $itembranchcode))){ + unless (C4::Context->IsSuperLibrarian() or (($userenv->{'branch'} eq $itembranchcode))){ $this_row{'nomod'}=1; } } --