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
User Management Changes
#11
Lets do this to address the permission issue.

Add a setting for permission_restriction int 1 default 0
This is the admin_user.php I got working fine:
http://pasted.co/688eb081

If this value is set to Disabled = 0, restrictions won't take place.
If the value is set to Enabled = 1, restrictions will occur and you will have disabled checkboxes.

I will work on the IF query to make it so if you are in the master account you can bypass this.
  Reply
#12
Lets also add a auto_assign_un int 1 default 0 setting.

This will allow you to decide if you want to auto assign as I described above, or not.

Code:
admin_users.php
http://pasted.co/7added63

If you do deploy this part - I would recommend doing the join modifications that I put in this file here:
Code:
join.php
http://pasted.co/a3f81a82

Code:
users/views/_join.php
http://pasted.co/447c8805

Let me know if you run into any problems Smile
  Reply
#13
Ok. I'll take a look. Fresh eyes this weekend.
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)