-
Notifications
You must be signed in to change notification settings - Fork 754
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]: Resource Manager Error: cannot Add or Remove Permissions on Folders #5857
Comments
We are experiencing the same issue and was hopeful that it was resolved with #5865 but this still appears to be an issue in 9.13.1 so maybe these are unrelated. |
Can confirm, running into this bug as well. |
Since this was possibly or partially related to #6045 (#6046) which was fixed in v9.13.04 rc1, I wanted to test and see if there was any change in behavior or improvement. This is still broken and appears to be worse, as it now fails in a similar way at an earlier step than before.On Step 13 above, as soon as you click Add for the All Roles/Content Manager role, you see the following error in the DevTools console, thought the element becomes visible in the Edit Permissions modal: Note that the results are the same for the Secure folder. And it makes no difference if you right-click on the Standard or Secure folder-list (left) or the items-listview (right). The steps provided above make this easy to reproduce in v9.13.04 (as of RC1). I apologize that I do not have the skills set to provide a fix for this. But I am trying to contribute by providing easy to follow steps and details to reproduce the issue. Thanks - Jeremy |
I just re-tested this using the just released DNN v9.13.06 and the update above from Jul 18 is still mostly accurate. Multiple errors are thrown in the console (error reading 'permissions' at dnn-rm-edit-folder.tsx:137:112 (same as above) and when you click Save nothing happens, the new Role is not added. I am updating the title of this issue accordingly. |
I also tested and could not find any direct way that this was related to the new Resource Manager Issue #6214. |
This demonstration video should make the issue very clear. You cannot add a Role to a folder in DNN v9.13.06. This is a fresh install locally using nvQuickSite. |
Is there an existing issue for this?
What happened?
Multiple related issues with Permissions not saving, including one that throws a console error, "TypeError: Cannot read properties of null (reading 'rolePermissions') in dnn-rm-edit-folder.tsx, line 133.
Details below in Steps to reproduce...
ERRORS on steps 15/16, 21/22
Steps to reproduce?
Using a clean new install of DNN v9.13.00:
Repeat the above steps (Standard folder) on the Secure folder and observe the results. Try doing page refreshes and not after each save. Strangely, the results will be different. Sometimes it works. Sometimes it works PARTIALLY (e.g. for All Users, uncheck Write and Browse, Save, and when you come back, Write is checked and Browse is not).
Emphasizing: The Standard folder never saves changes to Roles; Write/Browse. And weirdly, the Secured folder works sometimes and partially.
Example of Secure folder with Write and Browse checked for All Users
Before:
Intended settings (changes):
UNEXPECTED Results After Save:
Note: above is an example of the random results, again, sometimes it works, sometimes partial, and as you see above, sometimes very unexpected.
Current Behavior
No response
Expected Behavior
No response
Relevant log output
No response
Anything else?
Only testing on Chrome and Firefox, same results.
Affected Versions
v9.13.0 and v9.13.01 (updated after new tests on just released DNN; 20231207 JRF)
What browsers are you seeing the problem on?
Firefox, Chrome
Code of Conduct
The text was updated successfully, but these errors were encountered: