• Resolved dazbert

    (@dazbert)


    Hi,

    Am using pods and am trying to set up pod user capabilities so that we can have

      contributors who can create content and submit it
      editors who can approve and publish
      admins who can do everything

    Is this possible with pods? My current attempts end up with people trying to submit content and getting a blank screen.

    Help!

    https://www.ads-software.com/plugins/pods/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Josh Pollock

    (@shelob9)

    A white screen usually means a fatal error without error display enabled. In order to help you, I need to know what that error is. Can you try again with WP_DEBUG and WP_DEBUG_DISPLAY set to true in your wp-config.php:

    define('WP_DEBUG', true );
    define('WP_DEBUG_DISPLAY', true);

    For more information on debugging in WordPress, see: https://codex.www.ads-software.com/Debugging_in_WordPress

    Please let us know what errors you are getting with WP_DEBUG enabled and what exactly you’re doing that causes these errors, so we can provide specific advice.

    Thread Starter dazbert

    (@dazbert)

    Hi There,

    Thanks for the reply, The error comes up as the user doesnt have pubish rights. We are trying to set it up so contributers can create content and submit it for review and was wondering if this is possible with pods roles and capabilities

    Plugin Contributor Josh Pollock

    (@shelob9)

    What content type are these Pods? Also, are you using the roles and capabilities component? If so, what capabilities are you assigning to this role?

    Thread Starter dazbert

    (@dazbert)

    We are using the roles and capabilities component yes. The content is pretty kmuch all custom post types. Ive assigned the contributor the following capabilities:

    edit_posts
    edit_pages
    delete_posts
    read
    edit_files
    edit_published_pages
    edit_published_posts

    Im guessing im missing something to get them to be able to submit content rather than publish it on the site..

    Plugin Contributor Josh Pollock

    (@shelob9)

    Since you’re using custom post types, I don’t think you need to edit roles. Custom post types follow regular post roles. So if you assign users to the contributor role than those users will be able to submit, but not publish posts.

    The only thing that doesn’t cover is editing posts they wrote and have been published. See this article for how to handle that:
    https://justintadlock.com/archives/2010/07/10/meta-capabilities-for-custom-post-types

    Thread Starter dazbert

    (@dazbert)

    HI Again,

    Managed to solve the issue. It turns out that a plugin we had for running polls on the site was causing caching problems, meaning people submitting content for review got the white page of death.

    In other news Ive used a plugin called revisionary to allow users to submit changes to content for review and then schedule them for future publishing.

    A win all round. Thanks for your posts!

    Plugin Contributor Josh Pollock

    (@shelob9)

    Glad to help. Let us know if you ever need any additional help with Pods.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘User permissions setup’ is closed to new replies.