You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@andrewlimaza The Approvals Add On filters the membership level correctly in all the scenarios I tested with. Something else was probably off in the user's installation or the Add On hadn't loaded yet for some reason.
Someone on the forums mentioned that users who weren't approved could gain access to files anyway.
Since we call pmpro_has_membership_access() here https://github.com/strangerstudios/paid-memberships-pro/blob/dev/services/getfile.php#L74 that should be filtered by PMPro Approvals, but maybe the plugin hasn't loaded yet or something else is going on.
This custom gist (for locking down files outside of WP) uses the pmpro_hasMembershipLevel function and should also be filtered. https://gist.github.com/strangerstudios/6599510#file-my_pmpro_getfile-php-L64
If the user is using a custom getfile script anyway, it could be updated to check the status of the user's membership.
The text was updated successfully, but these errors were encountered: