Booked Scheduler Community Support
February 18, 2020, 11:40:26 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Allow GroupAdmin to see user details when config hide.user.details is set true  (Read 778 times)
mills7
Newbie
*

Karma: 0
Posts: 7


« on: December 01, 2018, 11:17:46 AM »

So I needed a way to allow GroupAdmins to view the names of those that have reserved rooms without making them application admins. Changing the following seems to have produced the desired outcome;


Code:
ignorePrivacy=$reservation->IsUserOwner($UserId) || IsGroupAdmin }
  added '|| IsGroupAdmin' as shown here to dashboard_reservation.tpl

Code:
{if !$user->IsOwner() || if !$user->IsGroupAdmin()}
added '|| if !$user->IsGroupAdmin()' to respopup.tpl at line 84.

Hopefully this helps someone else   Smiley

C
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!