Comments (10)
@BlackyWolf, it would definitely be cleaner if we don't add the Console user's ID to the permissions so I'll leave this open to address that.
That said, it shouldn't have much of an impact as without that added permission, no one would have access to the file (assuming they're not granted access at the bucket level).
from appwrite.
@BlackyWolf, thanks for creating this issue! 🙏🏼 What you're describing seems like the expected behavior as described by our docs:
If you create a resource using a Client SDK without explicit permissions, the creator will be granted read, update, and delete permissions on that resource by default.
If you don't want to grant the user permissions, you may pass an empty array.
Is there anything else you need or can this be closed?
from appwrite.
I apologize for not being clear. I am manually uploading a file using the cloud.appwrite.io UI and it is being assigned a specific user's permissions from when I uploaded a file using a local react app. When I upload the file through the cloud admin UI I leave the permissions blank, so I'm trying to figure out how permissions are getting assigned.
from appwrite.
@BlackyWolf, are you using the same ID for both cases?
from appwrite.
When I upload the file to the bucket from the local react app, I use the currently logged in user's ID.
When I log into the cloud.appwrite.io admin portal to upload the file, I leave the permissions blank and don't assign any ID.
If it's easier to show, I can record a screen capture of the process.
from appwrite.
Here's the screen capture:
appwrite_cloud_1.5.7_bucket_upload_bug.mp4
from appwrite.
@BlackyWolf, I'm pretty sure that's the ID of your Console account user since that's the user that created the file.
from appwrite.
Ah, I see. I was able to confirm this on a separate project. Is there any way to prevent this without having to disable file security? My expectation was manipulating data by going through the cloud admin console would not affect permissions on said data by automatically applying permissions.
If not, since this is expected behavior, please feel free to close the issue.
from appwrite.
Hey @stnguyen90 I can take a shot at this.
from appwrite.
I already raised a PR, as this issue was abandoned for a long time. 😅
from appwrite.
Related Issues (20)
- 🐛 Bug Report: Webhook Creation - UI issues on Appwrite Cloud
- 🐛 Bug Report: Edit Attribute UI Issue
- 🚀 Enhancement: Query Join HOT 2
- 🚀 Enhancement: Add bun 1.1 runtime.
- 🐛 Bug Report: "Invalid `passwordSalt` param" when migrating users from Firebase HOT 1
- 🚀 Enhancement: Add `Query.deselect` to Queries HOT 8
- 📚 Documentation: Async Function documentation needs clearer explanation and examples
- 🐛 Bug Report: HOT 1
- 🐛 Bug Report: Don't allow Empty `Name` or `Key` for Platforms
- 🚀 Enhancement: Open Telemetry Endpoint
- 📚 Documentation: Read permission error on functions.getExecution polling for async function status HOT 1
- 🐛 Bug Report: 1.5.7 All function builds fail HOT 1
- 🐛 Bug Report: Retrying upload of file chunk does not work properly
- 🚀 Enhancement: Account creation on OAuth login should be optional
- 🚀 Enhancement: Query builder like in Firestore
- 🐛 Bug Report: Error attribute "Factor" must be an array when updating MFA HOT 2
- 🐛 Bug Report: Server Error using Query.limit without Query.cursorAfter/Query.cursorBefore HOT 5
- 🚀 Enhancement: Add environment variable _APP_USE_SELF_SIGNED_TLS
- 🐛 Bug Report: Create function permissions covered by page element.
- 🐛 Bug Report: Attribute Forever Processing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appwrite.