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!
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, 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: 4581
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 536 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'