-
Notifications
You must be signed in to change notification settings - Fork 747
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 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 |
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:
![image](https://private-user-images.githubusercontent.com/653301/280423936-25884489-dcbf-4993-ae4d-d5ff819e7e3e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwNzQ0NjMsIm5iZiI6MTcyNjA3NDE2MywicGF0aCI6Ii82NTMzMDEvMjgwNDIzOTM2LTI1ODg0NDg5LWRjYmYtNDk5My1hZTRkLWQ1ZmY4MTllN2UzZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkxMVQxNzAyNDNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04MTc2YmQzZjU4ZmIzZjMwZGE4ZTNjMmM2Mzc0YTBhNTBiYTIxOTExOGRlZTE5MWEyZjg4NDg4MTkxNTRmZDQyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.qwD6FAbzRvxkylTWkvXe-AGLWl7FSNZI3F-RUwG--PY)
Intended settings (changes):
![image](https://private-user-images.githubusercontent.com/653301/280424480-307d7547-5f7c-417c-92c5-8bad21d1a97c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwNzQ0NjMsIm5iZiI6MTcyNjA3NDE2MywicGF0aCI6Ii82NTMzMDEvMjgwNDI0NDgwLTMwN2Q3NTQ3LTVmN2MtNDE3Yy05MmM1LThiYWQyMWQxYTk3Yy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1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aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.rsjXwoMQL6vmK9mmAc0z74CsHwfeC6sN3NCI9acbW1Q)
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: