Comments (5)
To confirm: Are suggesting that a client shouldn't to store.Put(accessContents) + dir.Put(accessEntry) and instead do something like dir.PutAccess(accessContents) and the dir server would internally do its own store.Put(accessContents) and save the entry itself as it normally would?
I'm sort of okay with this plan, but it won't solve #37 because we can't prevent [email protected] from including [email protected]/Group/friends in joe's Access file and both roots could live very far from each other.
from upspin.
I don't think the API needs to change, just that an Access file needs to have the references point to the store half of the DirServer. It could change, of course, but it wouldn't have to.
It wouldn't solve #37, it might just make it easier to solve.
I'm just thinking out loud, really, not proposing this necessarily.
from upspin.
So the upspin.DirServer would need to implement upspin.StoreServer also?
from upspin.
No, just Get. You could color the API so it fetches just Access and Group files.
from upspin.
Retiring this for now. I think the current plan is OK for the foreseeable future.
from upspin.
Related Issues (20)
- setupwriters assumes upspin/deploy/ directory structure that setup wizard doesn't create
- Account creation on ACMEv1 is disabled HOT 14
- Group Access to dir server HOT 5
- Out of memory while deleting files
- go get instructions need updating HOT 2
- Incorrect quarantine extension on files opened in mount HOT 1
- double compressed download archive HOT 6
- https://key.upspin.io/ down? HOT 5
- If `prevErr.isZero()` is `true`, it will skip writing current error string. HOT 2
- certificate expired
- upspin-ui shows 404 error HOT 3
- non-trivial typo in overview doc (I think?) HOT 4
- Why custom types instead of primitives? HOT 2
- keygen needs investigation HOT 3
- client/file: *File.ReadAt doesn't return io.EOF when file is read to the end HOT 1
- client/file: *File.Read incorrect offset when short read HOT 5
- client/file: TestFileSeek is slow HOT 1
- Handling distributed storage HOT 1
- docs on upspin.io out of date; fixed at head; docs need to be pushed HOT 1
- dircache.watcher never times out on non-existing hosts
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 upspin.