Uh oh!
There was an error while loading. Please reload this page.
Transfer ownership - #1955
Conversation
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>
matchish
commented
May 25, 2020
Before add tests I would like to have small feedback about the command. |
stefan-niedermann
commented
May 25, 2020
Can you please also update the REST API documentation so 3rd party clients can implement this new feature? 🙂 |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
juliusknorr
commented
May 25, 2020
Thanks a lot for looking into this. ❤️
Sure, I agree that an integration test makes the most sense here. |
It's an |
stefan-niedermann
commented
May 28, 2020
Oh - uhm... Basically to gain feature parity we would need a REST endpoint additionally then? Should i open a new issue then? How does the vue app trigger an owner change? Doesn't it has to call some kind of REST endpoint, too? Or am i completely wrong here? |
matchish
commented
May 29, 2020
I believe this feature mostly for admins and they have access to occ commands. And if we want REST endpoint for the feature I think is better to open a new issue for it(for me smaller tasks always better) |
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>
matchish
commented
Jun 8, 2020
Ready for review again) There is one issue. If user already participant of some card or in acl then command will stop with error unique constrain violation. Do you think this could be a new task(issue), because this implementation already has an value? |
Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>
juliusknorr
commented
Jun 23, 2020
Sorry for taking so long to review.
I'd love to get this addressed before merge, since that is probably a common use case that the ownership is transferred to a user that is already part of the board. I'm not sure if there is an easy solution without manually iterating over the entries and update them one by one. MySQL would support an |
juliusknorr
commented
Jun 23, 2020
The code in general looks good to me 👍 |
juliusknorr
commented
Jun 23, 2020
|
juliusknorr
commented
Jun 23, 2020
The BoardServiceTest needs to be adjusted to the additional constructor parameter |
…board nextcloud#1955 (comment) Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>
53600cf to
0b85cccCompare
I'm not sure I understand you. What do you mean? |
matchish
commented
Jul 18, 2020
@juliushaertl There is failed check https://drone.nextcloud.com/nextcloud/deck/4233/2/2 |
…board #1955 (comment) Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>
juliusknorr
commented
Nov 3, 2020
Sorry for the delay, unfortunately I totally missed your message. I've rebased and pushed it to a branch of this repo which makes collaborating on the branch a bit easier #2496 Since you are a member of the nextcloud organization you should also have push access to that. |
…board #1955 (comment) Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>
…board #1955 (comment) Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>
…board #1955 (comment) Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>
…board #1955 (comment) Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>
…board #1955 (comment) Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>
…board #1955 (comment) Signed-off-by: Sergey Shliakhov <husband.sergey@gmail.com>
Summary
Add
deck:transfer-ownershipcommandTODO
Checklist