Bug 23109: Improve description of staffaccess permission
authorKatrin Fischer <katrin.fischer.83@web.de>
Mon, 17 Jun 2019 21:50:01 +0000 (21:50 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 24 Jun 2019 16:14:36 +0000 (17:14 +0100)
commitdc0e8002fa6219cd49a5cc457191ef7855163c28
tree3dd5614d359221e4274eded4f58df2641ed56d2a
parent9f4c2306ebc42e107603f6f8bf393a20d1013458
Bug 23109: Improve description of staffaccess permission

Changes:
Allow staff members to modify permissions for other staff members
To:
Allow staff members to modify permissions and passwords for other staff members.

As suggested by Andre on the initial bug report.

To test:
- Go to any patron account and check More > permissions
- Veriy the description is shown as noted above
- Apply patch and run database update
- Reload the page and verify the description has changed
- Run the following SQL and verify the description in the
  database table matches as well:

SELECT * FROM userflags where flag = "staffaccess";

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
installer/data/mysql/atomicupdate/bug_23109_improve_staffaccess_description.perl [new file with mode: 0644]
installer/data/mysql/userflags.sql
koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc