-
Notifications
You must be signed in to change notification settings - Fork 55
Fix for issue-381 #382
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
Fix for issue-381 #382
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@r0hit-gupta changes looks good to me though there are is a couple of moments.
-
Unit tests doesn't pass for me. How about you?
-
You use user
member2
for testing that user gets error403
when updating start/complete date. But this user doesn't have permissions to update milestone at all, see unit test above the new unit tests:This means that unit test doesn't actually test that normal user cannot update start/complete date. To test it properly you have to use some user which CAN update milestone but is not admin. You can find such users in unit tests, for example
testUtil.jwts.manager
andtestUtil.jwts.copilot
.
Hey @r0hit-gupta please, have a look on the review above. Would you be able to complete this issue? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@maxceem I have updated the PR. Please review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All works good now. Thanks @r0hit-gupta.
@vikasrohit as we already released, I think we can merge this PR directly to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Changes for #381