SOLVED: Ultimate Member (and others) not working properly with Bricks - Bricks issue

Since I came across this thread when trying to make “members” content blocking feature working with bricks this is the solution I came up with:

// Add bricks support to members
add_filter( 'bricks/frontend/render_data', function($content, $post, $area) {
    if ($area != 'content') {
        return $content;
    return members_content_permissions_protect($content);
}, 95, 3);

@timmse i have opened a pull request for members: Content blocker Incompatible with bricks builder · Issue #121 · caseproof/members · GitHub. However i think it would be better if bricks implements this as a general workaround for the famous membership plugins.