Skip to content
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

Revert scope of direct editing to avoid changing session user #35360

Merged
merged 1 commit into from
Feb 17, 2023

Conversation

juliusknorr
Copy link
Member

@juliusknorr juliusknorr commented Nov 23, 2022

  • Revert the token scope to not end up with storing the user used in the session

This is useful to avoid unexpected behaviour which already was fixed in nextcloud/text#3476 (comment) but could happen for other direct editing implementations in the future as well.

Checklist

@szaimen szaimen added the 2. developing Work in progress label Nov 23, 2022
@szaimen szaimen added this to the Nextcloud 26 milestone Nov 23, 2022
@juliusknorr juliusknorr force-pushed the bugfix/noid/direct-editing-revert-scope branch 3 times, most recently from 0b6bc19 to fd82bb0 Compare December 22, 2022 10:50
@juliusknorr juliusknorr force-pushed the bugfix/noid/direct-editing-revert-scope branch from fd82bb0 to fabec08 Compare January 29, 2023 08:42
@blizzz blizzz mentioned this pull request Feb 1, 2023
@juliusknorr juliusknorr force-pushed the bugfix/noid/direct-editing-revert-scope branch from fabec08 to 8dd1bfb Compare February 2, 2023 21:01
@juliusknorr juliusknorr added bug 3. to review Waiting for reviews and removed 2. developing Work in progress labels Feb 2, 2023
@juliusknorr juliusknorr marked this pull request as ready for review February 2, 2023 21:03
@juliusknorr juliusknorr changed the title bugfix/noid/direct editing revert scope Revert scope of direct editing to avoid changing session user Feb 3, 2023
@juliusknorr juliusknorr force-pushed the bugfix/noid/direct-editing-revert-scope branch from 8dd1bfb to fef7fd0 Compare February 3, 2023 23:11
@juliusknorr juliusknorr force-pushed the bugfix/noid/direct-editing-revert-scope branch from fef7fd0 to 687a8dd Compare February 13, 2023 07:19
@juliusknorr juliusknorr requested review from a team, ArtificialOwl, icewind1991 and blizzz and removed request for a team February 15, 2023 09:54
@juliusknorr juliusknorr force-pushed the bugfix/noid/direct-editing-revert-scope branch from 687a8dd to 37b2911 Compare February 15, 2023 09:55
Copy link
Contributor

@max-nextcloud max-nextcloud left a comment

Choose a reason for hiding this comment

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

Walked through this today with @juliushaertl during one on one.
Seems legit ;)

@juliusknorr juliusknorr force-pushed the bugfix/noid/direct-editing-revert-scope branch from 37b2911 to b2ee2a9 Compare February 16, 2023 07:31
Copy link
Member

@julien-nc julien-nc left a comment

Choose a reason for hiding this comment

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

Seems good.
I'm curious to know what were the possible side effects of not removing the user ID from the session.

…e session

Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliusknorr juliusknorr force-pushed the bugfix/noid/direct-editing-revert-scope branch from b2ee2a9 to 47bc024 Compare February 17, 2023 09:18
@juliusknorr juliusknorr merged commit d078380 into master Feb 17, 2023
@juliusknorr juliusknorr deleted the bugfix/noid/direct-editing-revert-scope branch February 17, 2023 10:08
@skjnldsv skjnldsv mentioned this pull request Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants