If you can make a page with content protected, and manually open use for specific content?

Hi friends
I have a question about abilities M2
If you can make a page with content protected, and manually open use for specific content, according to my choice?
For example:
I have a page, with five articles are closed.
The registered name of Joseph, I can open articles 1,3,5 (articles 2 and 4 will be closed for him)
And David, I can open articles 2,3,4 (articles 1 and 5 will be closed for him)
Best regards
Joshua

  • Adam Czajczyk

    Hey Yehoshua,

    I hope you're well today and thank you for your question!

    You can "take part of the content out of protection rule" by using membership protection shortcodes with "access" arguments. Assuming there's a "page A" that's protected and accessible only to membership #1 you can enclose part of it with

    [ms-protect-content id="2" access="yes"]
    ...part of the content...
    [/ms-protect-content]

    and this part of the content should become accessible also for membership #2 (but not the rest of the page.

    However, there's no "user-based" exceptions so the workaround I could think of would be setting up additional memberships that wouldn't be "public" (meaning that users wouldn't be able to signup for them) and then manually add selected users to these memberships, allowing them to access selected additional content.

    If you have any further questions, I'll be glad to help!

    Cheers,
    Adam