Access the private path and public path based on the user role

Created on 29 December 2021, over 3 years ago
Updated 20 May 2025, 2 months ago

Problem/Motivation

Thanks @clivesj again for this great contrib module.

Since we have a complicated CMS system, the client wants to prevent the certain roles from accessing Drupal private file system path. So we need to separate the access right of the directory listing based on the role.

Please see the screenshot attached.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Closed: won't fix

Version

3.0

Component

Administrative Interface

Created by

🇨🇦Canada jamesyao

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇳🇱Netherlands clivesj

    I want to try to prevent adding too much features that serves a very specific task or user requirement.
    I would suggest that you make a small module and apply hook_node_access to apply your specific permissions.

    I will close this now, please let me know if you need any assistance.

Production build 0.71.5 2024