Title: [Plugin: Post Snippets] Editor&#039;s role
Last modified: August 20, 2016

---

# [Plugin: Post Snippets] Editor's role

 *  Resolved [criography](https://wordpress.org/support/users/criography/)
 * (@criography)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-post-snippets-editors-role/)
 * Hi,
 * First of all it’s a great plugin, so massive thanks for it.
 * My only comment is the way it restricts editting snippets. While you limit this
   feature to administrative users only it should be also allowed for Editors.
 * I can see you’re using `if ( current_user_can('manage_options') )`, which is 
   all fine but by definition Editors should be capable of editting others’ content.
   Snippets are not options.
 * Do you think it could be corrected, or perhaps customisable somewhere?
 * [http://wordpress.org/extend/plugins/post-snippets/](http://wordpress.org/extend/plugins/post-snippets/)

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

 *  [jonmike](https://wordpress.org/support/users/jonmike/)
 * (@jonmike)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-post-snippets-editors-role/#post-2731969)
 * Hello,
 * As criography mentioned, individual role control for shortcodes would make me
   have to use your plugin!
 * BTW Thanks! I love the plugin, but I have to have role control!
    Cheers!
 *  [Johan Steen](https://wordpress.org/support/users/artstorm/)
 * (@artstorm)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/plugin-post-snippets-editors-role/#post-2731992)
 * Hi,
 * Sorry for super late reply. But you are right, and it makes sense. I’ve added
   it to the things to change for the soon upcoming 2.1 update.
    [https://github.com/artstorm/post-snippets/issues/12](https://github.com/artstorm/post-snippets/issues/12)
 * Cheers,
    Johan
 *  [Johan Steen](https://wordpress.org/support/users/artstorm/)
 * (@artstorm)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/plugin-post-snippets-editors-role/#post-2731993)
 * Getting into the code, I started thinking. Currently editors gets a non editable
   view of the snippets. Allowing editors to edit snippets, will allow them to enter
   and execute PHP code. That would probably not be desired.
 * I will copy this note to my issue list at GitHub, and give it some more thought.
   What do you think?
 *  [Johan Steen](https://wordpress.org/support/users/artstorm/)
 * (@artstorm)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-post-snippets-editors-role/#post-2731999)
 * A constant can be set in the coming update that allows users with edit_posts 
   capability access to the snippets admin.
 *  Thread Starter [criography](https://wordpress.org/support/users/criography/)
 * (@criography)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-post-snippets-editors-role/#post-2732000)
 * Nice one! Thanks a lot.

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

The topic ‘[Plugin: Post Snippets] Editor's role’ is closed to new replies.

 * ![](https://ps.w.org/post-snippets/assets/icon-128x128.gif?rev=2545587)
 * [Post Snippets - Custom WordPress Code Snippets Customizer](https://wordpress.org/plugins/post-snippets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-snippets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-snippets/)
 * [Active Topics](https://wordpress.org/support/plugin/post-snippets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-snippets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-snippets/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [criography](https://wordpress.org/support/users/criography/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/plugin-post-snippets-editors-role/#post-2732000)
 * Status: resolved