We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4d3e7b commit 2583cb9Copy full SHA for 2583cb9
Postman/Postman-Connectivity-Test/PostmanConnectivityTestController.php
@@ -278,7 +278,7 @@ function runSmtpTest() {
278
279
check_admin_referer('post-smtp', 'security');
280
281
- if( !current_user_can( 'edit_plugins' ) ) {
+ if( !current_user_can( Postman::MANAGE_POSTMAN_CAPABILITY_NAME ) ) {
282
wp_send_json_error(
283
array(
284
'Message' => 'Unauthorized.'
@@ -317,7 +317,7 @@ function runSmtpsTest() {
317
318
319
320
321
322
323
0 commit comments