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

Link / file picker doesn't seem to respect folder permissions #3235

Open
ajplopez opened this issue Dec 19, 2023 · 0 comments
Open

Link / file picker doesn't seem to respect folder permissions #3235

ajplopez opened this issue Dec 19, 2023 · 0 comments

Comments

@ajplopez
Copy link
Sponsor

I'm submitting a

[x] bug report => search github for a similar issue before submitting

...about

[x] edit experience / UI

Current Behavior / Expected Behavior

When a content editor with a certain role browses the File Manager, they see all the folders in the file system (regardless of the folder's permissions in Site Assets)

But I would expect that they could only see folders of which they have permission to view.

If I have a folder in the root of the site called "DeptFiles" and inside that I have "Finances", and then on "Finances" we make it so that not all users can view it.

If you're a certain type of user, you would only see the folder that you're allowed to see.

I'm working on a website where there will be many Departments, each with their own role and set of users. They also have a folder in Site Assets for each department. I want it so that when a user with a certain role goes to add/edit files, they can only access the folder that belongs to their department.

Instructions to Reproduce the Problem

  1. Create a role called "Finances" and a role called "Attorney"
  2. Assign a user to that role "Finances"
  3. Create a folder on the root of the portal and set the permissions of that folder (via Site Assets) so that only that role can view / browse / write to. Add more folders to this area and configure them so that Finances has a folder, and Attorney has a folder
  4. Create an app that has a Link field that targets the "File Manager" and let the new roles be able to edit this
  5. Log in with your new user (the one with the Finances role) and go to edit the content
  6. When you browse the File Manager, you'll see all the other folders in that, not only the Finances folder

Screenshot 2023-12-18 at 5 04 34 PM

I would think that the

Your environment

  • 2sxc version(s): 16.7.0
  • Browser: all |
  • DNN: 9.13
  • Hosting platform: all | IIS | azure | other
  • Language: English
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

1 participant