]> git.evergreen-ils.org Git - Evergreen.git/commit
Security fix for Launchpad Bug 1003052.
authorJason Stephenson <jstephenson@mvlc.org>
Mon, 11 Jun 2012 20:12:54 +0000 (16:12 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 13 Jun 2012 15:32:53 +0000 (11:32 -0400)
commita9685a919941f2ad2a33cc4f6c13256e522b1291
tree911d2635f4a7c9f70e03b7a804bad92b0f879971
parent87994668254d199213d51a2cb8b6db0532f67e48
Security fix for Launchpad Bug 1003052.

Bug reported by James Fournie:

Revoking the UPDATE_MARC permission doesn't actually seem to prevent a
user from editing a record. Our use case is that we would like a user
to create new records but not edit existing MARC records.

Changing CREATE_MARC to UPDATE_MARC in OpenILS::Application::Cat's
biblio_record_replace_marc() method seems to fix the problem.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Cat.pm