I have a form containing the nuRefreshDisplayObject() function in its Javascript code. It works fine as long as I test my app as an administrator; but if I test it as a simple user, an error message occurs when opening this form, saying that the function is not allowed.
How can I fix it?
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.
nuRefreshDisplayObject not allowed for an user
-
- Posts: 25
- Joined: Sat Apr 03, 2021 3:50 pm
-
- nuBuilder Team
- Posts: 4307
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 446 times
- Contact:
Re: nuRefreshDisplayObject not allowed for an user
sph_global global should be set to 1. Verify by running this query:
If it's set to 0, replace it with a 1.
Code: Select all
SELECT * FROM `zzzzsys_php` WHERE `sph_code` = 'nurefreshdisplayobject'