]> git.koha-community.org Git - koha.git/commit
Bug 13342: Not logged user can place a review/comment
authorHammat Wele <hammat.wele@inlibro.com>
Tue, 3 Sep 2024 20:31:21 +0000 (20:31 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 1 Oct 2024 13:09:11 +0000 (15:09 +0200)
commitb90f3d051401247a96fa81078df9a594be5a392d
tree0233d0cf3e9ab76ec1fdcc6f676dcccabdc6ffa9
parentf24d06259b4d945439aa5dcecf0a202104b5efc4
Bug 13342: Not logged user can place a review/comment

We are able to comment a notice even when no user is connected

To test

1. Log in to OPAC.
2. Find a Biblio and open the comments tab.
3. Open another tab/window, and log out from the account.
4. Return to the first tab.
5. Click "Post your comments on this title."
 --> We are able to post a comment
6. Apply the patch
7. Repeat step 1, 2, 3, 4, 5
 --> You should be redirected to the login page.

Signed-off-by: David Cook <dcook@prosentient.com.au>
Bug 13342: Tidy

Signed-off-by: David Cook <dcook@prosentient.com.au>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 2dc9dcf87a388ad118af0326f37893d525a7cbfa)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
opac/opac-review.pl