The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New Admin group, user blocked when updating user
#2
Figured it out:

I am using hasPerm to "hide" some of the fields the junior admins can edit, but because the validation was still happening, I think it was blocking the user each time they updated it.

I've added hasPerm to all of the validation logic that involves the "hidden" fields, and it is now working :-)
  Reply


Messages In This Thread
RE: New Admin group, user blocked when updating user - by lordtopcat - 10-17-2018, 12:14 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)