Title: user capabilities changed with polylang
Last modified: August 30, 2016

---

# user capabilities changed with polylang

 *  [jojaba](https://wordpress.org/support/users/jojaba/)
 * (@jojaba)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/user-capabilities-changed-with-polylang/)
 * Hello,
 * I just saw that polylang grants a contributor to translate a post created by 
   an admin. This is not the good way this should happen (the contributor shouldn’t
   be allowed to edit a post created by an admin). No other plugin installed, version:
   1.7.6.
    Thanks in advance.
 * [https://wordpress.org/plugins/polylang/](https://wordpress.org/plugins/polylang/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Chouby](https://wordpress.org/support/users/chouby/)
 * (@chouby)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/user-capabilities-changed-with-polylang/#post-6300478)
 * Hi!
 * It is intentional that a contributor is allowed to *translate* a post (since 
   he has the right to create a post).
 * Of course he doesn’t have the right to *edit* other’s posts so he can’t *edit*
   a post created by an admin.
 *  Thread Starter [jojaba](https://wordpress.org/support/users/jojaba/)
 * (@jojaba)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/user-capabilities-changed-with-polylang/#post-6300489)
 * Ok, that makes sens. Is there a way to avoid this behaviour (the post created
   by admins or editors shouldn’t be avalable for translation for lower capabilities
   users) ?
 *  Plugin Author [Chouby](https://wordpress.org/support/users/chouby/)
 * (@chouby)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/user-capabilities-changed-with-polylang/#post-6300593)
 * Currently, I don’t know if it is possible without hacking directly the plugin.
   I don’t know if such a call `current_user_can($post_type_object->cap->create_posts)`
   fires a filter in which you could hook. And even if it’s the case, you would 
   need some `debug_backtrace()` call to get the source post_id and make your necessary
   checks.
 *  Thread Starter [jojaba](https://wordpress.org/support/users/jojaba/)
 * (@jojaba)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/user-capabilities-changed-with-polylang/#post-6300601)
 * Well, then I will let the contributors translate the posts, as I said before,
   this is not completely nonsens. 😉
    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘user capabilities changed with polylang’ is closed to new replies.

 * ![](https://ps.w.org/polylang/assets/icon-256x256.png?rev=3433336)
 * [Polylang](https://wordpress.org/plugins/polylang/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/polylang/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/polylang/)
 * [Active Topics](https://wordpress.org/support/plugin/polylang/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/polylang/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/polylang/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [jojaba](https://wordpress.org/support/users/jojaba/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/user-capabilities-changed-with-polylang/#post-6300601)
 * Status: not resolved