-
Notifications
You must be signed in to change notification settings - Fork 24
Allow user who created Job to edit it #112
Comments
According to my observation, eventhough the creator of the job don't have Edit Job details button, he still be able to edit the job by accessing the Edit job page url. |
@maxceem
And go-ahead for enhancement if it's fine. additional info
|
@nkumar-topcoder we've created endpoint Sum up:
|
@yoution would you like to handle it as a private task as per the comment above #112 (comment)? Payment $50. |
@maxceem please assign to me |
@yoution assigned Branch to work: |
@sandhiyakavi @SathyaJayabal this is fixed and ready for testing in DEV. |
Verified below cases in Dev. Working as expected.
bandicam.2021-05-19.12-42-35-807.mp4 |
Verified in Prod. Edit Job details button available and able to edit if member created Job from Taas app /Connect. bandicam.2021-05-25.15-00-31-050.mp4 |
As a part of this issue #12 we have to allow editing jobs for users who have permissions for that.
At the moment we are only allowing editing jobs to the BookingManagers and Administrators, but we don't allow edit jobs to customer users who create such jobs.
The reason for this, because TaaS API uses V5 user ids to for
createdBy
andupdatedBy
fields:But we don't know the V5 user id of the logged in user, we only know V3
userId
andhandle
:So we have to know somehow V5 User id of the logged-in user client-side. I'm not sure if we have such an endpoint that could be called by any user to obtain it.
FYI @nkumar-topcoder
The text was updated successfully, but these errors were encountered: