Bug 7536 - New permission for deleting items
Summary: New permission for deleting items
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: master
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks: 8149
  Show dependency treegraph
 
Reported: 2012-02-14 00:58 UTC by Nicole C. Engard
Modified: 2023-01-07 23:58 UTC (History)
5 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicole C. Engard 2012-02-14 00:58:51 UTC
It would be nice if there were a delete permission for cataloging. Right now if you can edit you can delete, but it would be nice to allow only select people to delete and more people to edit.
Comment 1 Savitra Sirohi 2012-03-19 14:12:10 UTC
Create a two new permissions --  "delete items" and "delete biblios" under "editcatalogue" group.

Based on how permissions are setup for a user, allow or disallow access to following in the catalogue pages:

Under "Edit" menu:
delete record
delete all items

In additem.pl page
Delete (item) link

There is already a permission for BatchMod.pl (delete option), so no change is required here.

During database update set the permissions to "allow" for all users with corresponding "edit" permissions. So users who can edit biblios and holding will be able to delete biblios and items, and those who can edit items will be able to delete items.
Comment 2 Nicole C. Engard 2012-03-19 14:38:48 UTC
If you don't have permission to edit items it should hide the 'edit' links on moredetail.pl as well.

Also the edit and delete links should be hidden from the left side of : additem.pl depending on what permissions you have/don't have.

Somehow a link like this:

/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=4091&itemnumber=5514#edititem

Should prompt you that you don't have the right permissions if you don't have edit item permissions.

I think that's all the places (but I'll keep looking).

Nicole
Comment 3 Nicole C. Engard 2012-03-19 14:42:14 UTC
I'm sorry, I'm not sure why I thought this had 'edit items' permissions listed. Ignore the pages where I talked about edit links :) But there is still the delete link on additem.pl that needs to be hidden if you don't have permission to delete items.

Nicole