https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20383

Séverine Queune <severine.que...@bulac.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #72766|0                           |1
        is obsolete|                            |

--- Comment #2 from Séverine Queune <severine.que...@bulac.fr> ---
Created attachment 72811
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=72811&action=edit
Bug 20383: Hide link to plugin management if plugins are not enabled

This patch adds a check in admin-home.pl to see whether plugins are
enabled. If plugins are disabled, the link to plugins management is
hidden even if the user has plugin management permission.

To test, view the administration home page with plugins enabled and
disabled via the enable_plugins flag in the Koha configuration file.
Also test using users with different plugins permissions:

- Plugins enabled
  - CAN_user_plugins = 1
    -> Plugins link appears
  - CAN_user_plugins = 0
    -> Plugins link hidden

- Plugins disabled
  - CAN_user_plugins = 1,
  - CAN_user_plugins = 0
    -> Plugins link hidden

Signed-off-by: Séverine QUEUNE <severine.que...@bulac.fr>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to