Booked Scheduler Community Support
February 23, 2018, 08:14:00 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Booked 2.5 has been released!
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Private Custom User Attributes (visible only by admin, editable by self)  (Read 36 times)
digicrat
Newbie
*

Karma: 0
Posts: 3


« on: February 13, 2018, 04:34:57 AM »

I have a need for custom user attributes that will be required and must be entered by the user upon registration.  They should be able to update this field(s) from their profile at any time, but otherwise only admins should be able to view this field.

The current "admin only" doesn't allow a user to view their own 'admin only' fields. 

I suspect the easiest approach (though perhaps not the best long-term one) would be to alter the existing 'admin only' feature to make the field visible only for admins or when the user in question matches the logged in user.  I do not currently have a need for the 'admin only' field as implemented.

I haven't been able to figure out where that check is defined to make such a change however.  Ideas/suggestions?

thanks
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!