-
Notifications
You must be signed in to change notification settings - Fork 163
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
Management console : download from the oid #39
Conversation
In the magament console, the list of OIDs is enhanced with a link allowing to download the file content. Note the download is made with the OID as filename - as the server doesn't know neither the filename, nor even the mime type.
Committed separately to ease handling of conflicts.
As the URL for a given OID always refer to the same content, there's no need to make non cacheable response
I think there's a problem here mixing authentication. This will only work if the admin user/pass matches a "user" user/pass. The metastore |
You're right. |
Alow retrieval of a raw content from admin, even when the repository is not public.
I implemented what (I understood you) said : |
There could be another option : we could consider that, in a general way, if we're logged in admin, we don't need a user authentication. |
Looking at the user/password provided, first see if it corresponds to the admin ones. If this is the case, accept getting the store without any further test.
Sorry I totally missed the extra changes you made. Thanks for the PR, it's now merged in! |
As spotted in #38, the management console didn't offer the ability to download the file content.
This PR solves that point.