Need to change "Save filters" permission

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
kgrubbs
Posts: 4
Joined: 31 May 2007, 15:45
Location: College Station, TX

Need to change "Save filters" permission

Post by kgrubbs »

I would like to change the default permissions for saving filters in mantis. Right now you have to be a developer or higher to do this, but I would like updaters (and maybe even viewers) to have this privilege. I looked though the manual and config file and cannot find how to configure this.

I'm currently using 1.0.1.

Thanks!
kgrubbs
Posts: 4
Joined: 31 May 2007, 15:45
Location: College Station, TX

Post by kgrubbs »

Anyone? Please?

Thanks!
vboctor
Site Admin
Posts: 1293
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Post by vboctor »

You will need to set the following configuration options in your config_inc.php:

Code: Select all

	# Threshold needed to be able to use stored queries
	$g_stored_query_use_threshold = VIEWER;

	# Threshold needed to be able to create stored queries
	$g_stored_query_create_threshold = VIEWER;
Migrate your MantisBT to the MantisHub Cloud
kgrubbs
Posts: 4
Joined: 31 May 2007, 15:45
Location: College Station, TX

Post by kgrubbs »

Thanks, Victor. I looked up and down the config file and I couldn't find anything like this related to the word "filter". I guess that's why I couldn't find it. May I suggest these variables be put under the "Filter" section in the config file?

Thanks for the help.
vboctor
Site Admin
Posts: 1293
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Post by vboctor »

Please report a bug for this in the bug tracker. We should have such entries in a filters table so that users can easily find them.
Migrate your MantisBT to the MantisHub Cloud
kgrubbs
Posts: 4
Joined: 31 May 2007, 15:45
Location: College Station, TX

Post by kgrubbs »

Is this going to be moved to the database configuration eventually? (meaning... configurable per project from the web UI, etc)
Post Reply