concrete5/concrete5 — pull request #1858 by glukasik (2014-12-03 19:30:56+00:00)
Title: Hide the "Add User" buttom from users without proper rights

Hello!

This is my first pull request to the Concrete5 project :) Please forgive me if I am doing something wrong.

>>> Hide the "Add User" buttom from users without proper rights

I have built a form for other users, where one of the fields is a User Selector widget.
Most of them do not have rights to manage users and therefore they were often clicking on "Add User" button, thinking this is the right way to select a user.

This patch hides "Add User" button if user does not carry proper permission rights.

Best regards,
Grzegorz