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

Access rules allow browsing, but prevent sharing #3003

Open
dkaparis opened this issue Feb 15, 2024 · 5 comments
Open

Access rules allow browsing, but prevent sharing #3003

dkaparis opened this issue Feb 15, 2024 · 5 comments

Comments

@dkaparis
Copy link

Description

For a non-admin user, I set a pair of rules like that:

[x] Regex [ ] Allow /.+

[ ] Regex [x] Allow /some_folder

This allows the user to browse under some_folder, but not other folders within the scope.
When sharing a folder under some_folder though, the shared link only opens an empty folder
with no files.

Expected behaviour

Files in shared folder should appear when opening the shared link.

What is happening instead?

When opening the shared link, an empty folder with no files appears.

Additional context

Running filebrowser release 2.27.0 under FreeBSD 13.2-RELEASE.

Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Mar 17, 2024
@dkaparis
Copy link
Author

One more detail - when sharing single files under the above configuration, they are shared correctly. The issue only affects sharing directories.

@github-actions github-actions bot removed the Stale label Mar 22, 2024
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Apr 21, 2024
@dkaparis
Copy link
Author

The issue persists through release 2.28.0.

@github-actions github-actions bot removed the Stale label Apr 23, 2024
@steven-sun
Copy link

steven-sun commented May 15, 2024

not fixed through 2.29.0
files ok, but dir content was blocked on share

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