Connection: User without permissions is prompted to connect #8066
Labels
Admin Page
React-powered dashboard under the Jetpack menu
Connect Flow
Connection banners, buttons, ...
[Focus] FixTheFlows
[Pri] Low
[Type] Bug
When a feature is broken and / or not performing as intended
[Type] Janitorial
Users without the
jetpack_connect
cap but the ability to manage modules are prompted to connect Jetpack.Steps to reproduce the issue
jetpack_connect
cap from all users:Looks like we need to add a cap check here (https://github.com/Automattic/jetpack/blob/master/_inc/client/main.jsx#L167-L173) to make sure that the user has the connect permissions.
The text was updated successfully, but these errors were encountered: