Skip to content

Refactor rights management and Main Page#138

Open
MrBricodage wants to merge 21 commits intoTestLinkOpenSourceTRMS:testlink_1_9from
MrBricodage:refactorRightsManagement
Open

Refactor rights management and Main Page#138
MrBricodage wants to merge 21 commits intoTestLinkOpenSourceTRMS:testlink_1_9from
MrBricodage:refactorRightsManagement

Conversation

@MrBricodage
Copy link
Copy Markdown
Contributor

@MrBricodage MrBricodage commented Jan 14, 2018

Fix 0008177

  • Use existant rights :
    • user_role_assignment (15)
    • testproject_user_role_assignment (23)
  • Add new users rights :
    • cfield_assignment (53)
    • exec_assign_testcases (54)
  • Use these rights in Main Menu and Testlink pages.
  • Refactor roles edit page to group rights by impact (global/project)
  • Add missing menus in new main page that were proposed in old main page
  • Add title in MainPage and reorder entries in boxes
  • fix few little issues seen during validation

Bob Le Bricodeur added 21 commits January 4, 2018 00:19
…t (23)

Show checkboxes in Users/Roles section of the Edit Role Menu
block 1 : TestLink configuration block
block 2 : current project configuration Block
block 3 : Requirements Block
Block 4 : Testcases Block
- Reorder boxes
- Reorder content in boxes
- Move some rights in others boxes
- keywords in TestCases
- platforms in TestProject
- Merge boxes (trackers)
- Remove no more used Boxes
- keywords
- platforms
- missing french translations
- undefined indexes, properties and offset
Review role rights groups in Role Edit to show witch ones are applied
globally and witch ones are applied locally
expiration date is not set
cfield_assignment, value 53
add right to roles that have right 18 cfield_management)
Added in TestProject Box
- on Desktop page to display 'Assign CF' menu
- In Assign CF page to check the user rights
remove the use of inventoryEnabled as a user right
To allow req monitor and testcase link only if req View or Req Edit is
allowed
In custom fields project assignment GUI
use the same pattern for all assign rights
Allow access to users who only had modification right without view
right.
From navBar and from Desktop
Unused labels not found (th_kw_rights, th_platform_rights)
wrong labels called (expiration for expiration_date)
add right to roles that have right 4 (testplan_planning)
Added in TestPlan Box
- on Desktop page to display 'Assign TestCases Execution' menu
- In Assign TestCases Execution page to check the user rights
- In Add/Remove Test Cases to display the 'assign to user on add' banner
is right is set to current user
Delete unused variables
even if user management is not set for the current user
Copy link
Copy Markdown
Contributor

@fmancardi fmancardi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Target of this change is not clear to me, then I'm not able to accept/apply.

Copy link
Copy Markdown
Contributor

@fmancardi fmancardi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to compare current GUI with your proposal, before taking a decision about adding.

Copy link
Copy Markdown
Contributor

@fmancardi fmancardi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes/additions are OK. I've applied it without doing merge through Github.

Copy link
Copy Markdown
Contributor

@fmancardi fmancardi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes/additions are OK. I've applied it without doing merge through Github.

Copy link
Copy Markdown
Contributor

@fmancardi fmancardi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Custom Field Assignment to Test Project
do not want to change current behavior, then cfield_management will remain AND cfield_assignment will be added in OR MODE.

Copy link
Copy Markdown
Contributor

@fmancardi fmancardi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changes on const.inc.php and reqSpecLisTree.php, applied

Copy link
Copy Markdown
Contributor

@fmancardi fmancardi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pull/138/commits/4430d62d5bb5feeafea2ff6132b1b9a5690808e1

Need to review changes to roles.inc.php.
Changes to strings.txt for English applied with minor changes.
Changes to Frech applied AS IS

Copy link
Copy Markdown
Contributor

@fmancardi fmancardi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not think is better to move check for inventoryEnable d to template.
Have fixed use of inventory enabled on inventory management right.

Thanks for HEAD UP!

@MrBricodage
Copy link
Copy Markdown
Contributor Author

"These changes/additions are OK. I've applied it without doing merge through Github." :
It seems that some features have not been merged. Don't know with answers provided if that is a choice of if you didn't see these modifications.

Missing features :

  • Role 15 and 23 still no used
  • Edit Role Page still in "old style", not grouped by impact (global/project)
  • main Page style is not modified (Titles / Reorder boxes)

@fmancardi
Copy link
Copy Markdown
Contributor

fmancardi commented Feb 18, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants