-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
[Bug]: Unable to invite guest #40299
Comments
The object that is built in src/main.js which is added to the user search bar is used to build a share object and for this app the shareType is guest, hence it should be included from the source. Related to : nextcloud/server#40299 Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
The object that is built in src/main.js which is added to the user search bar is used to build a share object and for this app the shareType is guest, hence it should be included from the source. Related to : nextcloud/server#40299 Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
My suggestion would be to revert the fix and try to mirror the behaviour we had before 27.1 where share would be created of type USER. The new sharing flow implementation seems to have left out custom share result handlers. The code is still present in
For guest users we should still call the handler so that the guest app can take care of the guest user and share creation. |
The handler is still present in the new flow : server/apps/files_sharing/src/views/SharingDetailsTab.vue Lines 809 to 814 in 1f6101d
Rather, what I suspect is that converting the base object to a
So, a way to maintain it, to pass the handler forward is required. The changes done, would still be nice to have though. |
I think we should still call the handlers upfront before triggering the new sharing flow, so that the guest user is already created, iirc @jancborchardt also agreed on that in one of our calls. |
Bug description
Can't create guest share.
On attempt the following is thrown
Error creating the share: Unknown share type
Steps to reproduce
Expected behavior
Save share, should successfully register a new share of type guest.
Installation method
None
Nextcloud Server version
master
Operating system
None
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
No response
List of activated Apps
No response
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: