diff --git a/config/inc_roles.php b/config/inc_roles.php index 4fc52c01e2a5768f373fa7d57249bec0170c7110..54e159ac5a00399c0a929e0488113fd49361409a 100644 --- a/config/inc_roles.php +++ b/config/inc_roles.php @@ -57,7 +57,7 @@ return array( "project-action-overview", "project-action-phase", "project-action-setup", - "project-action-edit-replacements", + "project-action-setup-edit-replacements", ), // ----- wenn es mal eine feinere Granulierung braucht, muss man eine diff --git a/public_html/deployment/classes/project.class.php b/public_html/deployment/classes/project.class.php index fbfe6edabebb5995a48a29344dcba66f8bd435a5..881672d90ffa6c3b7768d9574a54f5d69fe15e4d 100644 --- a/public_html/deployment/classes/project.class.php +++ b/public_html/deployment/classes/project.class.php @@ -3297,7 +3297,7 @@ class project extends base { $aForms["setup"]["form"]['input' . $i++] = array( 'type' => 'text', - 'disabled' => $this->oUser->hasPermission("project-action-edit-replacements") ? '' : 'disabled', + 'disabled' => $this->oUser->hasPermission("project-action-setup-edit-replacements") ? '' : 'disabled', 'name' => 'phases[' . $sPhase . '][replace]['.$tTplFile.']['.$sField.']', 'label' => $sField, 'value' => $aValues && array_key_exists($sField, $aValues) ? $aValues[$sField] : '',