Non Admin User API Implementation#6
Merged
Merged
Conversation
Member
|
I think we are using |
Member
Author
|
I will update the field and function names soon. |
Member
|
great going. next we need a PR for the docs, then we can deploy with one client. We'd like to ask for help in prototyping this first version of non-admin users from @octacode (and/or @ARIHANTJAIN456 and @megabitdragon), and perhaps @codedentwickler. Depending on their schedule, we can do one or the other. We need a separate "PIN login" page in the client to allow access to NAUs. We can provide a custom-built AA servers to test with. |
Member
|
I did not realize that other PR would cause a conflict here. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New Additions:
/authexpects JSON type data withpinkey in request body./sharesand/filesapi./shares-> checks if Authorization header is present and returns a list of only those shares that are accessible to that user with an extra keyisWritable(bool value) in the json response for each share./files-> checks for read access of that user on that share/files-> checks for write access of that user on that share.TODO
isWritablekey from db.