-
Notifications
You must be signed in to change notification settings - Fork 745
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
Admin Logs - Fixed Log Settings errors #4399
Conversation
/azp run |
Commenter does not have sufficient privileges for PR 4399 in repo dnnsoftware/Dnn.Platform |
Hi @bdukes can you help me rebuild this PR? |
@dnnsoftware/approvers do you need to be a superuser to manage log settings? It looks like there's already logic so that a non-superuser can only manage settings for their current portal. Anyone have a reason why this restriction would need to stay in place? |
site specific settings should be able to be managed by portal admins (and superusers), however, all system events (relevent for all sites) should be managed by superusers only. |
Actually, the |
I would agree with @sleupold on this one, and I am not 100% sure that we have the proper distinction in being able to do this within the configuration settings. For example, an Admin should not be able to turn off logging of user logins etc. |
The issue that was reported to us is that admins/superusers are not allowed to add log settings. And given that this issue has been in place for more than 3 years, I think it's fair to assume that nobody is using this feature at all. |
I don't think we can just remove the restriction, as that changes the security profile quite a bit.. Let me chat with the others about this one. |
I agree that this should be reserved to hosts only, admins should view the logs but not be able to add log types for instance... |
Ok, I agree it would have changed the security profile. |
Dnn.AdminExperience/Dnn.PersonaBar.Extensions/Services/AdminLogsController.cs
Outdated
Show resolved
Hide resolved
Co-authored-by: Brian Dukes <bdukes@engagesoftware.com>
Thanks @bdukes |
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.
Thanks!
Fixes #4398
Summary
This pull request reverts 4d1f352 and changes the Admin Logs panel to show error notifications when Log Settings operations fail (instead of success notifications)