View Issue Details

IDProjectCategoryView StatusLast Update
0029237mantisbtrelationshipspublic2021-11-11 16:01
Reportermbuhisi Assigned Todregad  
PriorityurgentSeveritymajorReproducibilityalways
Status closedResolutionduplicate 
Product Version2.25.0 
Summary0029237: i want to change the permission to add relationship to developer
Description

i tried the following change to customise relationship to appear for developer but i couldnt find the following in mentioned files

Add in config_inc.php
$g_relation_bug_threshold = DEVELOPER note: (i added it)

Change in file:
bug_relationship_add.php, line 25
bug_relationship_delete.php, line 31
core\relationship_api.php, line 582 and 742

"update_bug_threshold" in "relation_bug_threshold"

If you want seperate authorisation for add and delete you can add another line in yout config_inc.php. Something like;
$g_relation_del_bug_threshold = ADMINISTRATOR
and also change the bug_relationship_delete.php

TagsNo tags attached.

Relationships

duplicate of 0005096 acknowledged Add separate permission for adding a relationship... 

Activities

mbuhisi

mbuhisi

2021-10-31 05:17

reporter   ~0065970

related to issue 0005096

dregad

dregad

2021-10-31 05:54

developer   ~0065972

I'm not sure why you opened a new issue for this, considering that you had already identified 0005096.

This feature is not yet implemented, so there is no point in adding $g_relation_bug_threshold to your config_inc.php as MantisBT will not process it.
Until then, please use $g_update_bug_threshold

I'm resolving this as duplicate.

mbuhisi

mbuhisi

2021-10-31 06:29

reporter   ~0065975

please how and where to add $g_update_bug_threshold

dregad

dregad

2021-10-31 06:34

developer   ~0065977

RTFM https://mantisbt.org/docs/master/en-US/Admin_Guide/html-desktop/#admin.config.intro