Skip to content

Show files in subdirs with parents with restricted access.#151

Merged
ams-tschoening merged 4 commits intomasterfrom
ghi_146_listing_with_restricted_subdirs
Sep 12, 2021
Merged

Show files in subdirs with parents with restricted access.#151
ams-tschoening merged 4 commits intomasterfrom
ghi_146_listing_with_restricted_subdirs

Conversation

@ams-tschoening
Copy link
Copy Markdown
Contributor

Calling "showDirFiles" with a level of "0" always leads to possible failed access checks when "/", "/tags" etc. are NOT visible to the current user, while "/tags/DIR1" might be. This is because of early aborts when checking access starting from the root of the repo.

Fixes #146.

Calling "showDirFiles" with a level of "0" always leads to possible failed access checks when "/", "/tags" etc. are NOT visible to the current user, while "/tags/DIR1" might be. This is because of early aborts when checking access starting from the root of the repo.

Fixes #146.
@ams-tschoening ams-tschoening force-pushed the ghi_146_listing_with_restricted_subdirs branch from 62864ac to 099cb46 Compare September 7, 2021 07:29
Copy link
Copy Markdown
Member

@michael-o michael-o left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

Copy link
Copy Markdown
Member

@k10blogger k10blogger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets go ahead with $level = $limit change. if someone else find an issue with this maybe will come to know what could be wrong.

@ams-tschoening ams-tschoening merged commit 16168ec into master Sep 12, 2021
@ams-tschoening ams-tschoening deleted the ghi_146_listing_with_restricted_subdirs branch September 12, 2021 11:03
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

Successfully merging this pull request may close these issues.

"listing.php" fails to show files in restricted subdirs.

3 participants