How to hide delete button of Visual phone book

Hi,

I find the visual phone book in FOP2 is very useful to use as a organization wide phone book. But only pitfall I find there
is that any one can delete records added as public. So can anybody tell me how to block access to delete button for
selected users.
Thanks in advance.

LSD

Comments

  • Edit the phonebook.php file and change
    $grid->allow_delete(true);
    

    to
    $grid->allow_delete(false);
    

    Best regards,
  • Hi Nicolás,

    Thanks for the Tip. It worked.

    Also I'd like to make a request to include this to user permissions (to enable and disable "delete option") to control
    it with different user levels in future versions.
    Again thanks for the great product.

    LSD
Sign In or Register to comment.