• Resolved saiyyed

    (@saiyyed)


    Hello @jimtrue I have created a custom post type and a custom role “member” who can edit their own content from this post type but i don’t know how connect each post to member.I found author in support ” see screenshot”and created one user with author role and its working fine. Can i add my custom role “member” to support so that member can only edit their content.

    The page I need help with: [log in to see the link]

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

    (@jimtrue)

    Take a look at the following documentation page on Roles & Capabilities with Pods and WordPress:

    https://docs.pods.io/advanced-topics/roles-capabilities-in-wordpress/

    Any handling of who can edit what is outside the scope of our Support as that is handled (once you’ve configured your post type) under your Membership/roles plugin.

    Thread Starter saiyyed

    (@saiyyed)

    okay @jimtrue i checked this documentation and apply “https://prnt.sc/ns7hr2” .but i am not getting. i want field like author field which shows users of my custom role but author field give me power that when user of custom role login they can edit their content see “https://prnt.sc/ns7mq9” and only post comes what admin assigned to user by this author field “https://prnt.sc/ns7q4f” .is it possible with custom role or i have to use author only.

    • This reply was modified 5 years, 10 months ago by saiyyed.
    Plugin Contributor Jim True

    (@jimtrue)

    if you create a custom capability like directory_*, you have to manage those capabilities being assigned to user roles, as our article explained. We do not perform that function, nor will we as that is outside the scope of our plugin. Roles & Capabilities are managed by WordPress and plugins like Members and other membership plugins.

    Users/Authors are assigned to Roles. Roles are granted or denied specific capabilities that determine what they are able to do. If you create a custom role, you assign that to the user, but every bit of that is outside of Pods. The only thing Pods does in this particular situation is define what capabilities are supported by the post type, as we discuss in that article.

    Thread Starter saiyyed

    (@saiyyed)

    ok @jimtrue Thanks for reply.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Custom Role + Pods Post Types’ is closed to new replies.