• Resolved heinryx

    (@heinryx)


    Dear Community I don’t manage to hide access to Admin POds to users with a role like contributors, but that can create new personal pods. I try a lot of plugins like “members”, “restrict access”, “ultimate members”. This user can’t edit the pods created by other user, and it’s correct, but they can access to admin pods, editing and deleting all what I configured. I ask your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Scott Kingsley Clark

    (@sc0ttkclark)

    You could try something like this to restrict access to Pods to only people who have pods_admin capability in their role. Then using one of those plugins to edit the Administrator role and add that capability to it.

    By default, Pods Admin is available to anyone that has a role with the delete_users capability.

    // Force the admin capabilities to require they have "pods_admin" to see the admin areas.
    add_filter( 'pods_admin_capabilities', static function ( $capabilities ) {
    	return [
    		'pods_admin',
    	];
    } );
    Thread Starter heinryx

    (@heinryx)

    Thankyou very much!!!!!! I activated some week ago “delete user” to get a target that now is not so important. Deselecting “delete user”, selecting “editing post”, deselecting “pods” I reach the target. The user can create a new pod, but not problems entering in admin. I believe that it’s not so intuitive. But now it’s ok. Well!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Unwanted access to “Admin POds”’ is closed to new replies.