New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use existant right 'mgt_unfreeze_req' #137

merged 9 commits into from Jan 2, 2018


None yet
2 participants

MrBricodage commented Jan 2, 2018

Fix Mantis Issue 8172

The right that is used to :

  • Access "Freeze Requirement" and "Unfreeze Requirement" buttons in view Requirement page
  • Hide some buttons in View Requirement Page if the Requirement is frozen
    • "Delete" Button
    • "Delete this version" Button
    • "New Revision" Button
    • "Add link to testcase" and "Remove link to testcase" buttons in Requirement coverage section
  • Hide "Add Req Relation" form in Relations Section if the current requirement is frozen
  • Check if the destination requirement is frozen when adding a new requirement relation
  • Disable "Delete Req Relation" in Relations Section if one of the two linked requirements is frozen

Coverage is linked to a requirement, not a requirement version. The "Coverage" Section, available and editable in "Others Versions", has been deleted according to the TestLink behaviour.

Bob Le Bricodeur added some commits Dec 30, 2017

Bob Le Bricodeur
Roles with right mgt_unfreeze_req (30)
add right to roles that have right 11 (mgt_modify_req) that is checked
to access the freeze option in the current realease
Bob Le Bricodeur
Update right description
To show that the right is used to Freeze and Unfreeze a requirement
Bob Le Bricodeur
Use mgt_unfreeze_req right in Requirement view
to show Freeze and Unfreeze buttons only if the user is allowed
Bob Le Bricodeur
Hide some buttons if the req is frozen in ReqView
If Requirement version is frozen, buttons are hidden :
- Delete
- Delete this Version
- new revision

New version button is still available to create a new version not frozen
Bob Le Bricodeur
Use mgt_unfreeze_req right in Requirement coverage section
Hide add and remove buttons is req is frozen
Bob Le Bricodeur
Use mgt_unfreeze_req right in Requirement relation section
disable requirement relation deletion if one of the two linked
requirements is frozen
Bob Le Bricodeur
Hide Requirement coverage in Others Versions in ReqView
Coverage is linked to a Requirement, not to a Req Version.
Editing coverage in others passed versions has an impact on current
version. That is disturbing for the user. Hidding req coverage to
provide the same user experience provided for attachments, relations and
monitoring information
Bob Le Bricodeur
Verify destination frozen status when adding relation between require…

Allow only a unfreeze requirement to be linked to the current
Bob Le Bricodeur
Use frozen status of each requirement in Assign TestCases view
Frozen Requirements are displayed but checkboxes are disabled.
Related online help is updated to explain the behaviour

@fmancardi fmancardi merged commit c89c958 into TestLinkOpenSourceTRMS:testlink_1_9 Jan 2, 2018

3 checks passed

ci/sideci No issues found!
security/snyk - third_party/DataTables-1.10.4/package.json No new issues
security/snyk - third_party/chosen/package.json No new issues

@MrBricodage MrBricodage deleted the MrBricodage:req_freeze_mgt branch Jan 2, 2018

MrBricodage pushed a commit to MrBricodage/testlink-code that referenced this pull request Mar 13, 2018

Bob Le Bricodeur
Remove getOpen function
added during PR TestLinkOpenSourceTRMS#137 but not used anymore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment