-
Notifications
You must be signed in to change notification settings - Fork 5
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
Custom post type to store logs uses default capability type #74
Comments
Good catch on the lazy implementation there. Ironically comes at a time where in a private repo I'm a member of, someone has complained about developers using misguided cap types impacting custom role assignments. |
#75 is not directly related to this issue. When the wp-simple-smtp/src/log/class-logservice.php Lines 38 to 40 in f657d94
There shoud be an additional For example:
|
Okay, thanks for clarifying. |
What WordPress, PHP and Simple SMTP versions are you using?
Simple SMTP 1.2.3
Describe the bug
The custom post type to store logs uses default capability type with no additional capabilities.
Expected behavior
The capability required to view/delete logs should be related to an admin role, for example
manage_options
.The text was updated successfully, but these errors were encountered: