EN_AdminGroup property

General question about the package, problems, solutions
sjaskilka
Posts: 5
Joined: Tue Mar 10, 2015 10:37 am

EN_AdminGroup property

Postby sjaskilka » Tue May 31, 2016 4:05 pm

Hello there,

Got a question concerning the EN_AdminGroup with 'Queue' mode turned on... we have a <user> we use for a scheduled task to run the DeliveryScript.pl file. This user is in the "Email_Admin" group and the user database has been 'upgraded' with this group. We created a udb_property of EN_AdminGroup with a value of "Email_Admin". Still, when executing the DeliveryScript.pl file from command line we get the error:

Permission Denied. This function can only be called by a user with SuperUser privilege or from a schema hook script. At include_1.6\EN_Notification.pl line 541.

What might I be missing?

thanks,

Mark

Pavel
Posts: 281
Joined: Fri Dec 12, 2008 12:19 am

Re: EN_AdminGroup property

Postby Pavel » Thu Jun 02, 2016 2:56 pm

Hi,

If you open "include_1.6\EN_Notification.pl" at line 541, what is the actual function that causes this error?
What are the version of ClearQuest and operating system used?

Thank you,
Pavel

Pavel
Posts: 281
Joined: Fri Dec 12, 2008 12:19 am

Re: EN_AdminGroup property

Postby Pavel » Thu Jun 02, 2016 3:08 pm

Hi,

Here is the root cause of your issue: viewtopic.php?t=246
Unfortunately, due to changed restrictions of the SetFieldRequirednessForCurrentAction API call, the user has to have admin privileges to run TimedNotification or EmailDevilery scripts.

Thank you,
Pavel


Return to “Email Notification Package Q&A”

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest

cron