-
Notifications
You must be signed in to change notification settings - Fork 2
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
Created file type not getting shared in the channel #1
Comments
Can you share some logs or approx steps which can help me reproduce this issue? @AayushChaudhary0001 |
@AayushChaudhary0001 can you provide the information requested? |
@darkLord19 I tried to reproduce this and I have created a video for the same, which I am attaching below, please have a look. Bug.mp4I am also adding the logs which I am receiving below. {"timestamp":"2024-07-31 11:08:44.975 Z","level":"error","msg":"something went wrong while updating permissions for file","caller":"app/plugin_api.go:940","plugin_id":"com.darklord.plugin-google-drive","err":"googleapi: Error 403: The user does not have sufficient permissions for this file., insufficientFilePermissions","fileID":"1pLyqJJCmAfoPWNBRo05ayLkRtDGlD6YiM-nbljbFuEw"} Please have a look at these of they can help, also let me know if I am missing something from my end. |
@AayushChaudhary0001 can you share which apis have you enabled for you gcp project? Also can you tell me if you are able to update permission of file to |
@darkLord19 Yes I am able to update the permission type manually for the doc using the same account. |
@AayushChaudhary0001 can you pull this branch #11 and use it to test this feature again? Also clear all the data from previous plugin, disconnect and connect your account again |
@AayushChaudhary0001 Can you confirm what apis were enabled when this was failing? This is difficult to reproduce. Did the branch from @darkLord19 resolve the issue for you? |
@darkLord19 @BenCookie95 This branch #11 seems to be deleted without merge, can you please let me know form where I can re-test this issue? |
Upon further investigation we found that org level permissions are impacting this, their org has certain sharing options disabled. We need to investigate if we can fetch the org permissions and only display the applicable options to them in the create doc modal |
During testing of this plugin, I found a bug which is not consistent.
When a user runs the command to create a doc/slide/sheet, and checks the checkbox to share it to the channel as well, the file type is not always shared on the channel.
Steps to reproduce:-
The shared file is not getting reflected in the channel
Note:- This bug is not consistent, you might not be able to reproduce it every time.
The text was updated successfully, but these errors were encountered: