Welcome to the nuBuilder Forums!

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

nuRefreshDisplayObject not allowed for an user

Questions related to using nuBuilder Forte.
Post Reply
absalom
Posts: 25
Joined: Sat Apr 03, 2021 3:50 pm

nuRefreshDisplayObject not allowed for an user

Unread post by absalom »

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?
kev1n
nuBuilder Team
Posts: 4305
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 446 times
Contact:

Re: nuRefreshDisplayObject not allowed for an user

Unread post by kev1n »

sph_global global should be set to 1. Verify by running this query:

Code: Select all

SELECT * FROM `zzzzsys_php` WHERE `sph_code` = 'nurefreshdisplayobject'
If it's set to 0, replace it with a 1.
Post Reply