-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Allow shared users to be set as accountable/responsible as well #15249
Conversation
88118cf
to
d15d38c
Compare
@@ -67,7 +67,6 @@ class ProjectsAPI < ::API::OpenProjectAPI | |||
mount ::API::V3::Projects::UpdateFormAPI | |||
|
|||
mount API::V3::Projects::AvailableAssigneesAPI | |||
mount API::V3::Projects::AvailableResponsiblesAPI |
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.
Whooops, sorry for overlooking and thanks for fixing. I did not restart my server after removing the class. I wonder why the tests did not fail when autoloading? 🤔
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.
Yeah, sorry for stepping over the reviewer boundaries here but it was so straight forward that it seemed weird to note it down instead.
What was weird is that the CI didn't run on your commit d15d38c before otherwise it would have informed you already.
@@ -67,7 +67,6 @@ class ProjectsAPI < ::API::OpenProjectAPI | |||
mount ::API::V3::Projects::UpdateFormAPI | |||
|
|||
mount API::V3::Projects::AvailableAssigneesAPI | |||
mount API::V3::Projects::AvailableResponsiblesAPI |
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.
Yeah, sorry for stepping over the reviewer boundaries here but it was so straight forward that it seemed weird to note it down instead.
What was weird is that the CI didn't run on your commit d15d38c before otherwise it would have informed you already.
The
responsible
field still used the project specific autocompleter. This was moved to the work package when the package was persisted. I found that theavailable_responsibles
API endpoint returns the same data as theavailable_assignees
endpoint. Since it is not used in any places, I have also removed the endpointFixes https://community.openproject.org/projects/openproject/work_packages/51551