How do I set preferences per project?
Moderators: Developer, Contributor
How do I set preferences per project?
I want to be able to set custom preferences per project, for instance all projects bare 1 are private for staff, and then I would like 1 public for the public to post in, setting the default setting as private on it, not allowing them to select a staff member to assign it to and a few other things.
Re: How do I set preferences per project?
Can I please get a reply?
Re: How do I set preferences per project?
It's not clear what you want.
Start reading
https://www.mantisbt.org/docs/master-1. ... E.PROJECTS
https://www.mantisbt.org/docs/master-1. ... SER.ACCESS
Start reading
https://www.mantisbt.org/docs/master-1. ... E.PROJECTS
https://www.mantisbt.org/docs/master-1. ... SER.ACCESS
Re: How do I set preferences per project?
Hello atrol, I have read through the administration guide previous to posting in the forums, it does not explain how to do what I want.atrol wrote:It's not clear what you want.
Start reading
https://www.mantisbt.org/docs/master-1. ... E.PROJECTS
https://www.mantisbt.org/docs/master-1. ... SER.ACCESS
Let me try re-phrasing, I would like to have a separate config_inc.php for 1 project (Public Issue tracking).
we currently have about 10 projects we use for staff and have kept the tracker for staff only until recently, I have created a new project that I wish the public (my users) to be able to submit support request tickets into. Now the problem is, there are a bunch of defaults that need to be changed for that ONE specific project, not our 10 other staff projects, this pubic project needs its own default-settings changed for submitting tickets.
When you go to submit a new ticket (Issue) the default "View Status" is set to Public, I want to make this default to Private for the ONE public project only, This is not the only default I want to change, its an example to explain how I need to find the method used to set default configuration per project.
Re: How do I set preferences per project?
Example how it works;
Goto page "Manage" > "Manage Configuration" > "Configuration Report"
There is a section "Set Configuration Option" at the bottom of the page
Change "Project Name" to the project you want to change
Enter value default_bug_view_status (option name without $g_) in field "Configuration Option"
Set "Type" to "integer"
Enter value 50 (Check core/constant_inc.php for other values) in field "Value"
Click button "Set Configuration Option"
This is just needed for those options that are not available on other pages like "Workflow Thresholds", "Workflow Transitions", ...
Goto page "Manage" > "Manage Configuration" > "Configuration Report"
There is a section "Set Configuration Option" at the bottom of the page
Change "Project Name" to the project you want to change
Enter value default_bug_view_status (option name without $g_) in field "Configuration Option"
Set "Type" to "integer"
Enter value 50 (Check core/constant_inc.php for other values) in field "Value"
Click button "Set Configuration Option"
This is just needed for those options that are not available on other pages like "Workflow Thresholds", "Workflow Transitions", ...
Re: How do I set preferences per project?
Fantastic! This all makes sense apart from the:atrol wrote:Example how it works;
Goto page "Manage" > "Manage Configuration" > "Configuration Report"
There is a section "Set Configuration Option" at the bottom of the page
Change "Project Name" to the project you want to change
Enter value default_bug_view_status (option name without $g_) in field "Configuration Option"
Set "Type" to "integer"
Enter value 50 (Check core/constant_inc.php for other values) in field "Value"
Click button "Set Configuration Option"
This is just needed for those options that are not available on other pages like "Workflow Thresholds", "Workflow Transitions", ...
Where I cant see anything set at 50 in this 50 in any relation to default_bug_view_status, I cant even find default_bug_view_status, I tried a few varients in caps etcEnter value 50 (Check core/constant_inc.php for other values) in field "Value"
EDIT:
I found it in differently named constants
Code: Select all
# project view_state
define( 'VS_PUBLIC', 10 );
define( 'VS_PRIVATE', 50 );
EDIT2:
I cannot figure out how to not display the "Assign To" field, this seems to be done differently, the most my search has prevailed is:
Code: Select all
/**
* access level needed to show the Assign To: button bug_view*_page or
* the Assigned list in bug_update*_page.
* This allows control over who can route bugs
* This defaults to $g_handle_bug_threshold
* @global int $g_update_bug_assign_threshold
*/
$g_update_bug_assign_threshold = '%handle_bug_threshold%';
Re: How do I set preferences per project?
BUMP.
I need an answer to how to disable the "assign to" field for that one project, People will just assign every single task to me, I need to have someone manage who is assigned what issue, not the person submitting the issue.
I need an answer to how to disable the "assign to" field for that one project, People will just assign every single task to me, I need to have someone manage who is assigned what issue, not the person submitting the issue.
Re: How do I set preferences per project?
Select the project you want to change in the project selection
Goto page "Manage" > "Manage Configuration" > "Workflow Thresholds"
Uncheck all or some of the check boxes in row "Assign an issue"
Click "Update Configuration"
Goto page "Manage" > "Manage Configuration" > "Workflow Thresholds"
Uncheck all or some of the check boxes in row "Assign an issue"
Click "Update Configuration"