check_write_permission();
// catch any file system issues
if ( is_wp_error( $can_write ) ) {
$this->render_view( 'error-fatal', array( 'message' => $can_write->get_error_message() ) );
$can_write = true;
}
// display a error message if the user does not have write permission to S3
?>
—
Identity and Access Management in your AWS console and manage the policy for the user you\'re using for this plugin. Your policy should look something like the following:', 'as3cf' ), 'https://console.aws.amazon.com/iam/home' ); ?>
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "s3:*",
"Resource": "*"
}
]
}
get_setting( 'manual_bucket' ) ? 'manual' : ''; ?>
render_view( 'sidebar' ); ?>