• Resolved Tony G

    (@starbuck)


    I’ve opened an inquiry with the UltimateMember plugin devs about how to enable GenerateBlocks with their great content restriction features.

    Specifically, at a post, page, block level (for Container, or QueryLoop, etc) they can restrict access to a block based on user roles and other settings. While their settings UI is available in the editor on GB blocks, at runtime the GB blocks (understandably) are not checking the UM permissions, and generate regardless of those settings. Their checking only seems to work for default Gutenberg blocks … I don’t know how yet, that’s the reason for the inquiry.

    I’m hoping GB devs will keep an eye on that thread, participate, and consider incorporating that fine functionality. As noted there, I don’t expect any plugin to support any other plugin like this. Rather, if I know there are pre-and/or-post generation hooks for GB blocks, I can use those to invoke permissions hooks in UM, and ideally cancel the generation of a GB block.

    Please advise if that kind of pre-generation “short-circuit” hook is available yet, or if it’s planned.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support David

    (@diggeddy)

    Hi there,

    the GB blocks uses the core render_block functionality, so there should be no reason why that plugin could not target a GB block.

    If we understood what that plugin is doing then we could advise if theres anything different that GB requires…. but i would assume the developer has simply targeted core blocks in their function.

    Plugin Support fernandoazarcon2

    (@fernandoazarcon2)

    Hi there! We haven’t heard back from you for a while now so we’re going to go ahead and set this topic as resolved. Feel free to open a new topic if you need assistance with anything else GB free related.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.