• Resolved earthdog

    (@earthdog)


    I cant get restrict to work on pod edit.

    I have created my admin pages successfully and also i can restrict each huser to hiw own entries by adding this to pods_ui params:

    'where'            => array(
                'manage' => "author.ID = " . get_current_user_id(),
            )

    But i CANNOT find a way to ban the user from editing other pod ids…I mean if i just go to the URL and change the id of the pod then there it is for the user to see….

    I looked at the code for restrict and author_restrict options but i got confused…Any help?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter earthdog

    (@earthdog)

    i would like to add that i tried everything i could by altering subscriber role and its capabilities but i did not work….i can simply change the id from the backend url and i can see any APT from another author…

    also tried all the examples from restrict and restrict_author with no luck..

    i am using pods_ui with false value for the second param…

    Plugin Contributor Jim True

    (@jimtrue)

    You’ve actually brought this question over to our support forum, so I’m closing this thread. We really don’t have the resources to work the issue in multiple locations.

    https://pods.io/forums/topic/pods_ui-restrict-does-not-work-in-editdelete/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘pods_ui restrict does not work in edit’ is closed to new replies.