• Resolved kowal2205

    (@kowal2205)


    Hello,
    I have no issue to use pods itself.
    I wanna secure access to posts.
    Example : projet A, accessible for user à, B, C
    Project B accessible for C,D,E
    I have lots of custom types.

    I would like to know if you have a solution that would not imply for me to rewrite specific single archive files

    Second question: do you have link to understand internationalization of Pods Templates ?

    Thanks
    Micha?l

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Jim True

    (@jimtrue)

    You’ve asked about handling Roles & Capabilities with Pods. Please check out our Documentation on Roles & Capabilities as it covers where the line is drawn between what Pods can do and what WordPress or your Membership plugin needs to handle: https://docs.pods.io/advanced-topics/roles-capabilities-in-wordpress/

    If you have questions about translation, we have a FAQ for that as well: https://docs.pods.io/faqs/language-says-translated-not-working-pods/

    Thread Starter kowal2205

    (@kowal2205)

    Hi Jim
    Yes I know about these capabilities but it does not answer my needs
    Except if after each form I am able to add a new capability : edit_post_1721 as an example
    I understand there is no real way with pods to go deeper than role and capabilities.

    Do you know then how to catch a pods form event ? Let’s say i’ll try to catch the form submission and try the ??post-capability??

    Micha?l

    Plugin Contributor Jim True

    (@jimtrue)

    That’s not a Pods function. WP doesn’t even do that except by password. There is no way I’m aware of to specify protecting a specific post unless you use a membership plugin like Members. Sorry, but this isn’t something within the scope of our product. I’d ask around StackOverflow

    Thread Starter kowal2205

    (@kowal2205)

    Hi
    In fact I found the solution (not tested the last part)
    1 – download snippet plugin in order to write short photo code and associate with short code
    2 – write snippet ??security?? in order to check if user can access the post(s)
    3 – build a new page with 2 short codes, the security one and the pods one
    4 – once pods is saved it triggers : https://pods.io/docs/code/action-reference
    5 – write a ??post-save-item?? snippet to do what is need once post is saved

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Secure specific posts’ is closed to new replies.