Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
developer|admin user
developer|admin user
Hi!
Is there a way to create several users who are developers (can create various objects, other users, have access to any forms), but they are different from default 'Admin' user?
Thank you
Is there a way to create several users who are developers (can create various objects, other users, have access to any forms), but they are different from default 'Admin' user?
Thank you
-
- Posts: 132
- Joined: Tue Dec 12, 2017 11:28 pm
- Location: Aberdeen, UK
- Has thanked: 9 times
- Been thanked: 13 times
Re: developer|admin user
Hello shuray,
Yes, there is. Go to the Settings tab on the Setup form. Look for the value '$nuConfigDBGlobeadminUsers' in the subform and enter the IDs (the values in as found in zzzzsys_user.zzzzsys_user_id for the users you wish to give admin rights). Multiple values can be separated by commas. You do not need any quotation marks.
Neil
Yes, there is. Go to the Settings tab on the Setup form. Look for the value '$nuConfigDBGlobeadminUsers' in the subform and enter the IDs (the values in as found in zzzzsys_user.zzzzsys_user_id for the users you wish to give admin rights). Multiple values can be separated by commas. You do not need any quotation marks.
Neil
Re: developer|admin user
Thank you, Neil!
But there is one more question - what about access_id for that users? I have entered id of developer user to nuConfigDBGlobeadminUsers, but he still can view only UserHome page and has no access to any form
But there is one more question - what about access_id for that users? I have entered id of developer user to nuConfigDBGlobeadminUsers, but he still can view only UserHome page and has no access to any form
-
- nuBuilder Team
- Posts: 4416
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 74 times
- Been thanked: 472 times
- Contact:
Re: developer|admin user
Hi shuray,
You will probably need to restart your browser in order for changes to be reflected.
You will probably need to restart your browser in order for changes to be reflected.
-
- Posts: 132
- Joined: Tue Dec 12, 2017 11:28 pm
- Location: Aberdeen, UK
- Has thanked: 9 times
- Been thanked: 13 times
Re: developer|admin user
Hi shuray,
Sorry to be late replying (I was out all day yesterday). Were you able to follow kev1n's advice and did it fix the problem? (He is usually right!)
I am pretty sure that adding user IDs to $nuConfigDBGlobeadminUsers will override the access level that their accounts are otherwise assigned and they have full developer/admin access.
Neil
Sorry to be late replying (I was out all day yesterday). Were you able to follow kev1n's advice and did it fix the problem? (He is usually right!)
I am pretty sure that adding user IDs to $nuConfigDBGlobeadminUsers will override the access level that their accounts are otherwise assigned and they have full developer/admin access.
Neil
Re: developer|admin user
Yes! You are right! after restarting the browser i have the full access
Thank you
Thank you
-
- nuBuilder Team
- Posts: 4416
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 74 times
- Been thanked: 472 times
- Contact:
Re: developer|admin user
Some changes to your preferences require you to restart your browser, which is unfortunately unavoidable. Normally, this requirement is communicated by a pop-up message that appears after you've saved the settings. However, it seems that this particular setting does not trigger the expected message notification, so I need to check this.
Re: developer|admin user
But there is one more issue: That users have full access to forms, but cannot open "external" links: Database and FileManager. After login that links both do not work with message: "You have been logged out."
Probably we have an additional setting?
Thank you
Probably we have an additional setting?
Thank you
-
- nuBuilder Team
- Posts: 4416
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 74 times
- Been thanked: 472 times
- Contact:
Re: developer|admin user
Edit core/nuvendorlogin.php and replace this line
with
Code: Select all
if ( $_user == $_SESSION['nubuilder_session_data']['GLOBEADMIN_NAME'] && $_extra_check == '1' ) {
Code: Select all
if ( $_extra_check == '1' ) {[/code
-
- nuBuilder Team
- Posts: 4416
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 74 times
- Been thanked: 472 times
- Contact: