-
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
Fix resource manager permissions save issues #6046
Fix resource manager permissions save issues #6046
Conversation
- set default PortalID in vw_FolderPermissions to -1 - include other selected permissions when 'Write to Folder' permisison is set - update javascript to fix allowAccess==0 permissions issues
@microsoft-github-policy-service agree company="Trilogy" |
@Adeoluwa-Simeon Thank you for this submission. Overall I think that this change resolves the reported issue, however, I am slightly concerned with the impact of changing the behavior of a Null Portal id on a view that is used in other locations. Upon a quick search that view is utilized by a number of other areas of the platform and I'm concerned that there would be unintended consequences with this change that are going to be hard, if not impossible to fully track. @dnnsoftware/approvers thoughts? |
@mitchelsellers I tend to lean to your thought process here as well. I'd be interested to hear what @valadas thinks about this. |
An alternative solution would be to modify the procedure that calls the view
to cater to both portalId being null and -1, essentially solving the need for a default value
|
DNN Platform/Website/Providers/DataProviders/SqlDataProvider/09.13.03.SqlDataProvider
Outdated
Show resolved
Hide resolved
DNN Platform/Website/Providers/DataProviders/SqlDataProvider/09.13.03.SqlDataProvider
Outdated
Show resolved
Hide resolved
…alues for portalID */
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe that this is an acceptable change, but I will need to review this to validate
@valadas @mitchelsellers Is it possible to get this fix into the next release? We have customers complaining about the problem. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will need to be 09.13.04 at minimum since 9.13.03 has been released
@valadas @david-poindexter Any thoughts on this? I have not had a chance to test/validate the actual change |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I downloaded this build and it does fix everything mentioned in the original issue.
Just need to rename that sql file for next version (09.13.04)
In a perfect world if while you are in this area if you could take a look at #5857 steps, it would be awesome if it could be fixed in the PR too as it is probably something similar for a fix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
Great, thank you. Can this be merged now? |
Just needs a second approver |
@valadas looks like we have a merge conflict? I'm on vacation but will try to review soon |
Conflict resolved |
Thanks everyone! Is there an ETA for the 9.13.4 release? |
It's not a promise but I think it may happen early next week. |
@valadas How's the release coming along? |
With the US holidays it won't be this week, we are meeting next week and will analyze the situation then |
Fixes #6045
Summary
Fix resource manager permissions save issues
Release notes
Resolved an issue where the permissions in the resource manager were not being saved and fixed some of the auto adjust enable and disable permission functions.
Testing steps
Re-run the steps in #6045 and check that the issues are solved