[Koha-bugs] [Bug 9032] Share a list

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 26 15:52:00 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9032

Jonathan Druart <jonathan.druart at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #26292|0                           |1
        is obsolete|                            |
  Attachment #26293|0                           |1
        is obsolete|                            |
  Attachment #26294|0                           |1
        is obsolete|                            |
  Attachment #26295|0                           |1
        is obsolete|                            |
  Attachment #26296|0                           |1
        is obsolete|                            |
  Attachment #26297|0                           |1
        is obsolete|                            |
  Attachment #26298|0                           |1
        is obsolete|                            |
  Attachment #26299|0                           |1
        is obsolete|                            |
  Attachment #26300|0                           |1
        is obsolete|                            |
  Attachment #26351|0                           |1
        is obsolete|                            |
  Attachment #26509|0                           |1
        is obsolete|                            |
  Attachment #26513|0                           |1
        is obsolete|                            |

--- Comment #80 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 26577
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=26577&action=edit
Bug 9032: Share a list (part 1: send the invitation)

Adds a Share button for OPAC private lists.
Allows you to send an invitation to share a list.
Checks on validity of email addresses (with Email::Valid).

Test plan:
1) Sharing depends on syspref and login.
Toggle the pref OpacAllowSharingPrivateList.
If enabled, you should see the Share button in OPAC/Private lists.
Click on the Share button. You should get Share a list.
Logout and try to go back to opac/opac-shareshelf.pl
It should now present you the login form.

2) Try to share a public list or a list you do not own.
Find a security hole in the interface. Or hack the shareshelf URL and replace
the shelfnumber with a public list number.

3) Enter no email address or invalid ones (no domain, forbidden chars).
If you enter no address, submit should not work.
If you enter only wrong addresses (separated by: ,:; ), you get a message.

4) Test if sending the invitation works.
Share one of your private lists. Enter your own email address.
After your proc_message_queue cronjob ran, you should have an email.
Check also if you see a new record in the virtualshelfshares table.
Note that the followup patch handles the second part of accepting this share.

Signed-off-by: Owen Leonard <oleonard at myacpl.org>

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Rebased.
Small amendation: rewording on email notification in template.

Signed-off-by: Dobrica Pavlinusic <dpavlin at rot13.org>

Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list