Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

My user post a new custom type "artprim_item" and it doesn't work unless I remove permalinks. The item is created, but the permalink links to "item not found".

More importantly, if I open the item with my admin account and update it, the permalink works at last.

Since I only want him to see "artprim_item" and no "page, posts, links...)" , this user has a role that I created with limited capacities:

  • delete_artprim_item
  • edit_artprim_item
  • edit_artprim_items
  • edit_others_artprim_items
  • publish_artprim_items
  • read_artprim_item
  • read_private_artprim_items
  • upload_files
  • edit_files
  • read

Is there a capacities to create permalinks?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

Found that it works if I add the edit_posts capacity.

But Posts is now visible in Admin :(

At the same time, it also fixed a problem I had with Media upload: the user could never edit right after the upload.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.