-
Notifications
You must be signed in to change notification settings - Fork 0
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
File API #170
Comments
I agree with all of these, the split seems logical, the users api I creates pertains to the authentication cleanup (users PAL) to improve consistency before major rewrites, however this has not yet started, so I could migrate the purpose of this, i would be Interested in being involved In this section |
Also see #167 |
I think the users API should stay separate to authentication, but the API (and underlying storage) need some work in order to facilitate multiple authentication methods. If we're doing an API overhaul, might as well fit that in. |
I agree it should be seperate, but at the moment the authentication is known as users PAL, hence the users API. Users is adopted from googles naming of authentication. I am not suggesting combining them. |
Ah, okay. |
I agree, perhaps spin up a new thread. |
I've been working on this when I've had spare time (read 'infrequently') though haven't pushed anything yet since it's all sitting in a spec-only or partially-implemented state. I'll do my best to push my proposed API spec in some form in the near future. The approach I am taking involves the following:
So far I've done the following:
|
This sounds perfect, is there any documentation of specifics at this stage? |
Short answer: not yet |
Excellent, it will be nice to generate some progress on ksf. It also is a good jumping off point for larger changes.
|
I agree. I'm working on these changes so that it will be easy to work on a hierarchical gating UI. |
APIPermissions, I don't like it.
These days it does more than just permissions and that isn't really right.
I propose it be split into three APIs:
They might use some common PAL components for actual storage, but the methods for reading/writing should probably be separated out properly.
This would also be a good opportunity to enhance how we use the NDB datastore in the GAE PAL; I propose the following:
I think it would be prudent to start with the files API in order to facilitate the development of efficient hierarchical gate display. I believe there's already a branch created by @ahemagain for the users API, so that just leaves the permissions API. Once the APIs are done, we'll need to build another utility layer on top of the APIs which link them together for things which require interaction with multiple APIs (such as getting all the files a user has permission to see).
Thoughts?
The text was updated successfully, but these errors were encountered: