Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

User Access to Tiny File Manager

Questions related to customising nuBuilder Forte with JavaScript or PHP.
ricklincs
Posts: 107
Joined: Mon Aug 01, 2011 5:39 pm
Has thanked: 33 times

Re: User Access to Tiny File Manager

Unread post 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.
liam
Posts: 3
Joined: Fri Jan 12, 2024 10:11 am
Has thanked: 1 time

Re: User Access to Tiny File Manager

Unread post 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.
ricklincs
Posts: 107
Joined: Mon Aug 01, 2011 5:39 pm
Has thanked: 33 times

Re: User Access to Tiny File Manager

Unread post by ricklincs »

Hi Laim sorry no luck so far, I have added as a suggestion/request, unless you have managed it and could share.
kev1n
nuBuilder Team
Posts: 4416
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 74 times
Been thanked: 472 times
Contact:

Re: User Access to Tiny File Manager

Unread post 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.
ricklincs
Posts: 107
Joined: Mon Aug 01, 2011 5:39 pm
Has thanked: 33 times

Re: User Access to Tiny File Manager

Unread post by ricklincs »

Thanks Kev1n will give this a go and come back to you. Thanks for your time and effort as usual.
ricklincs
Posts: 107
Joined: Mon Aug 01, 2011 5:39 pm
Has thanked: 33 times

Re: User Access to Tiny File Manager

Unread post by ricklincs »

Kev1n. Thank you, tested and it works great.
Post Reply