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

[Bug]: DNN Resource Manager Permissions Broken #6318

Open
2 tasks done
bmusgrove-accuraty opened this issue Jan 21, 2025 · 1 comment
Open
2 tasks done

[Bug]: DNN Resource Manager Permissions Broken #6318

bmusgrove-accuraty opened this issue Jan 21, 2025 · 1 comment

Comments

@bmusgrove-accuraty
Copy link

bmusgrove-accuraty commented Jan 21, 2025

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

When assigning a Role (for example: Site Manager) to a folder in the DNN Resource Manager with permissions to View, Browse, and Write to the Folder, the newly assigned User with that particular Role should now have editing abilities/access to the top toolbar options.

Image

Steps to reproduce?

As an Admin

  1. Make a custom folder (logos was the folder I edited) or use one of the default ones
  2. Right-click the folder and select Edit > Permissions Tab (Note: This is broken too. I can only access the options by using the Tab button and guessing what the icons mean)
  3. Switch Filter By Group: All Roles and Select Role: Site Manager (or whatever custom Role) > Add button
  4. Check all the Role Permissions boxes (View, Browse, and Write to Folder) for the Site Manager Role
  5. Save

Switch to Site Manager Role/Account

  1. Go to the same Folder you edited on the Admin side
  2. This user should see new editing options (Add Folder, Upload in the top toolbar), but they do not. They only show the option to view files that exist in the folder.

Image
Image

Current Behavior

When assigning a Role (for example: Site Manager) to a folder in the DNN Resource Manager with permissions to View, Browse, and Write to the Folder, the newly assigned User with that particular Role does not see editing tools. The applied updates to the Role are not retained once tested by switching to the Site Manager account. I expect the permissions to update once I refresh the page or switch users/roles so that I can add materials to the Folder as a User without Admin privileges.

Expected Behavior

Covered above, thanks!

Relevant log output

Anything else?

No response

Affected Versions

9.13.7

What browsers are you seeing the problem on?

Chrome

Code of Conduct

  • I agree to follow this project's Code of Conduct
@jeremy-farrance
Copy link
Contributor

jeremy-farrance commented Jan 21, 2025

I tried this on another project on a site running DNN v9.13.07 and verified this. Also, in the video you can see the console output showing that the problems are errors in the front-end in JS and related to the permissions (object).
https://accuraty-my.sharepoint.com/:v:/p/jfarrance/ETIDToCtaFZKjOH_VGj7F3IB9_uXZp8J-WcA30cvKp0Omw?e=y0xc5q

This video demonstrates that you cannot add a Role to a folder using the Resource Manager.

Additional problems visible in the video:

  • when right-clicking on a folder, the context menu is placed far away (below) from the point-of-click, enough down the page that we've seen problems with the context menu being off-screen and not reachable with no option to scroll.
  • the animated open-modal transition stutters, is there a setting to disable these animations?
  • clicking the empty checkboxes weirdly cycles to Deny icon first, it should go to Checked icon first (maybe this is already fixed in Dnn-Elements but not in DNN yet?)

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

No branches or pull requests

2 participants