Skip to content
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

Specific Folder access Only #78

Open
janamcroods opened this issue Apr 9, 2020 · 1 comment
Open

Specific Folder access Only #78

janamcroods opened this issue Apr 9, 2020 · 1 comment

Comments

@janamcroods
Copy link

Hi , how to make this to explore inside specific folder.
i mean to say i don't want to show root of bucket instead i want to explore files and folders inside of specific folder.

@john-aws
Copy link
Contributor

One option would be to fork the code and customize the 'prefix' behavior. The explorer shows objects under a specific S3 key prefix. which defaults to '' (for the root of the S3 bucket) and the explorer allows the user to choose which prefix to use (via the settings dialog).

You could modify the software to start with a certain prefix in $scope.settings (see the SettingsController function. You would then need to modify the source code to constrain the user to that initial prefix or below, so they could not move above it. I think this would not be too complex to implement. I'm happy to consider merging a change if it's written in a way that fits well with the current code, is suppressed by default, and is easy to enable for you and other users who might want this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants