Page 2 of 2

Re: User Access to Tiny File Manager

Posted: Fri Jul 14, 2023 12:12 pm
by ricklincs
Think I am missing something with regard to 'session'. Have tried nuvendorlogin.php with $access_id = $logon_info->session->zzzsys_acess_id; but that seems to mess access up for both Admins and members of the user group.

Re: User Access to Tiny File Manager

Posted: Tue Jan 16, 2024 4:38 pm
by liam
Any luck with giving users access to the Tiny File Manager? All I get is a new window with "You have been logged out".
I am using the latest verison of Nubuilder and Php 7.7.

Re: User Access to Tiny File Manager

Posted: Tue Mar 19, 2024 4:58 pm
by ricklincs
Hi Laim sorry no luck so far, I have added as a suggestion/request, unless you have managed it and could share.

Re: User Access to Tiny File Manager

Posted: Wed Mar 20, 2024 3:08 pm
by kev1n
I have now taken some time to look into this.

This change makes it possible to give individual users access to the "Tiny File Manager" even if they do not have "globeadmin" permissions.
Please note that by having access to all files, users also gain access to files like nuconfig.php, etc.

1. Retrieve the latest files from nuBuilder
https://github.com/nuBuilder/nuBuilder- ... master.zip

2. Run the update process.

3. In nuconfig.php, add this line (Replace 65046e167e07b56 with your user id)

Code: Select all

$nuConfigFileMangerUsers = "65046e167e07b56"; //-- User IDs  with "Tiny File Manager" permission, separated by comma

User iDs, aka "Record ID" (primary keys), can be retrieved by pressing CTRL+SHIFT+M in the user form of the relevant user.

4. Restart your browser after modifying nuconfig.php in order for changes to be reflected

Please test it to make sure everything works as expected.

Re: User Access to Tiny File Manager

Posted: Thu Mar 21, 2024 11:48 am
by ricklincs
Thanks Kev1n will give this a go and come back to you. Thanks for your time and effort as usual.

Re: User Access to Tiny File Manager

Posted: Thu Mar 21, 2024 11:55 am
by ricklincs
Kev1n. Thank you, tested and it works great.