The following warnings occurred: | ||||||||||||||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
|
User Management Changes - Printable Version +- UserSpice (https://userspice.com/forums) +-- Forum: Miscellaneous (https://userspice.com/forums/forumdisplay.php?fid=28) +--- Forum: Modifications and Hackery (https://userspice.com/forums/forumdisplay.php?fid=29) +--- Thread: User Management Changes (/showthread.php?tid=576) Pages:
1
2
|
User Management Changes - Brandin - 08-06-2017 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. User Management Changes - Brandin - 08-06-2017 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 If you do deploy this part - I would recommend doing the join modifications that I put in this file here: Code: join.php Code: users/views/_join.php Let me know if you run into any problems User Management Changes - mudmin - 08-10-2017 Ok. I'll take a look. Fresh eyes this weekend. |