You do not have sufficient permissions to access this page.
-
Hi,
I have a new user set up with editor rights.
He can edit posts and pages etc.I have created several custom post types using something like this:
add_action('init', 'people_codex_custom_init'); function people_codex_custom_init() { $labels = array( 'name' => _x('People', 'post type general name'), 'singular_name' => _x('people', 'post type singular name'), 'add_new' => _x('Add New', 'Person'), 'add_new_item' => __('Add New Person'), 'edit_item' => __('Edit People'), 'new_item' => __('New People'), 'view_item' => __('View People'), 'search_items' => __('Search people'), 'not_found' => __('No people found'), 'not_found_in_trash' => __('No people found in Trash'), 'parent_item_colon' => '', 'menu_name' => 'People' ); $args = array( 'labels' => $labels, 'public' => true, 'publicly_queryable' => true, 'show_ui' => true, 'show_in_menu' => 'bplAdmin', 'query_var' => true, 'rewrite' => true, 'capability_type' => 'post', 'has_archive' => true, 'hierarchical' => false, 'menu_position' => null, 'supports' => array('title','editor','thumbnail', 'revisions', 'comments'), 'register_meta_box_cb' => 'myplugin_add_custom_box' ); register_post_type('People',$args); }
The user I created cannot edit or list these posts even though they have the capability type post?
You do not have sufficient permissions to access this page.
Any ideas?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘You do not have sufficient permissions to access this page.’ is closed to new replies.