-
Notifications
You must be signed in to change notification settings - Fork 73
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: show edit inputs only for external shares #3714
Conversation
Signed-off-by: Hamza Mahjoubi <[email protected]>
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.
This will cover only 'external shares'.
Should be also allowed for email shares AFAIR, too.
Maybe computed properties (isAllowedChangeDisplayName, isAllowedChangeEmailAddress) are a better style. Not sure if.
@dartcafe the backend is throwing an error if share type is not That's how I came up with the conclusion that it should only be visible for external shares, I'm not aware of any limitation on why email shares are allowed |
Ah. OK. now I understand your problem. Maybe it is a good idea to first file a bug issue. So, if I understood you right, the problem is the rejection of changing the name of an email share. This should be possible, which seems to identify a bug at the backend side. I have to check this, since AFAIR an email share should be converted to an external share after first call via this share. Similar to creating a new share, when entering the poll via public share. The sharing system seems still to have some flaws, since some changes a few months ago. |
Yes. So basically when you share a poll via an email address and open the poll with that link. When you try to change the mail address or the name you will be always facing an http 403 or 409 In the screenshot I changes the mail address and the name from the original values from the share link. they turn green while typing, but hitting the send arrow icon you face the errors seen in the browser console |
Yes, I could reproduce the bug. But I still think, it should be fixed on backend side, since the rejections is the error. Email shares should also be allowed to change name and email address. I fear the cause is the missing registration (it was removed for these shares by hiding the registration dialog out of convenience) in case of email shares. And I assume, contact shares are affected as well. I will get into it deeper over the weekend. |
Signed-off-by: dartcafe <[email protected]>
Signed-off-by: dartcafe <[email protected]>
Signed-off-by: dartcafe <[email protected]>
…hare Convert email and contact shares to external shares on first usage
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.
Both changes together do their work.
Accidentally early merge of the follow up PR.
I've tested the changes:
I will merge this, since I want the update to get out quickly. |
Signed-off-by: dartcafe <[email protected]>
Steps to reproduce:
Displayname can only be set for external shares.