Support » Plugin: Pods - Custom Content Types and Fields » Pods Custom Post Type how to restrict Access to users ?

  • Resolved mayanktaker


    I searched everywhere but can not find my answer. so thats why I ended up asking here.

    I am looking for a way to restrict access to user only see Custom Post Type I created with Pods which I want them to see or edit.

    Support I have a Pod name Book and a user whos name is user1. I want user 1 to only view or edit or post book pod. Not other pods. Same with media upload.
    I want user1 to view only Book pods images in media upload/browser. Same with other users and pods.

    In short, each pod should only control but only one user or user role includes media.

    I found member plugin and other user role editor and creator plugins but none offering for a particular pod. Everyone offering pods_edit , pods_read etc capability.

    I want something like book_pod_read, book_pod_edit capability to restrict user for each pod. And same with Media Library.

    I dont want my other users to view each others uploaded media in pods custom post type.

    Any suggestion or help ?


    • This topic was modified 1 year, 9 months ago by mayanktaker.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jory Hogeveen


    Hello @mayanktaker

    You can set custom capabilities for each Pod.
    By setting these capabilities you can enable/disable these to roles.
    If your roles are correctly set you can assign the roles to users to manage access to CPT.

    More info:

    Roles and Capabilities

    There are various plugins to edit capabilities for roles and/or create new roles:

    Roles and Capabilities

    I wrote the “View Admin As” plugin myself. With this plugin you can als preview (switch) roles and users and test if capabilities are working correctly.

    Hope this helps!

    Cheers, Jory

    Thread Starter mayanktaker


    I joy,
    thanks for the suggestions and reply. I found that with adding Custom Capability in Pods CPT edit option, and creating A User Role for that Capability solves my 90% problem.
    but I cant see the CPT that I created in Pods in the main menu.
    If I change it to posts/pages it shows in menu as it should be but when I change it to custom capability, it stopped showing on menu.

    how do I make it available in Menu ?

    tried with Admin and other custom roles. I set everything fine but new CPT with custom Capability no showing on menu.

    What do I do to make it in menu ?

    Thanks 🙂

    Plugin Author Jory Hogeveen


    Hi @mayanktaker,

    Make sure your own role has full access to the new capabilities you’ve created!
    By default none of the built-in roles have these capabilities.

    Cheers, Jory

    Thread Starter mayanktaker


    Hello Jory,
    Yes, I just checked that capabilities created by new POD is not selected in Administrator role and I checked and now I got it.

    One more thing. Is it possible to create separate folder for each Custom Post Type with Custom Capability ? With this, we can manage images easily. 🙂

    Thank you for your guide and help.
    Thank you very much. I learned a lot with your reply. 🙂

    • This reply was modified 1 year, 9 months ago by mayanktaker.
    Plugin Author Jory Hogeveen


    You’re welcome! The best way to say thanks is to leave a 5 star review at and (if you’re feeling especially generous) become a Friend of Pods at

    Cheers, Jory

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Pods Custom Post Type how to restrict Access to users ?’ is closed to new replies.