Page 1 of 1

Stored_query_create_threshold

Posted: 16 May 2012, 21:13
by Prozac
Hi!

I am currently using Mantis 1.2.10
By default reporters are not allowed to save filters.

So I went to the 'Manage Configuration' form and used the following entry:

Code: Select all

$g_stored_query_create_threshold = REPORTER;
Surprisingly the results are:
- reporters and even viewers are now allowed to create their own filters
- admins are not allowed to save any filters (no button visible at all)

Could you please help me to figure out what is wrong?

Regards,
Prozac

Re: Stored_query_create_threshold

Posted: 27 May 2012, 22:15
by atrol
Prozac wrote: So I went to the 'Manage Configuration' form and used the following entry:

Code: Select all

$g_stored_query_create_threshold = REPORTER;
When using the form you have to set an integer value stored_query_create_threshold to 25 (see core/constant_inc.php for the values)

Re: Stored_query_create_threshold

Posted: 28 May 2012, 21:34
by Prozac
atrol wrote: When using the form you have to set an integer value stored_query_create_threshold to 25 (see core/constant_inc.php for the values)
Oh, now I see!
I was trying to use it as a string as described in the Online Manual.
Thanks a bunch!