{"action":"opened","issue":{"url":"https://api.github.com/repos/thomaspark/snowball/issues/219","labels_url":"https://api.github.com/repos/thomaspark/snowball/issues/219/labels{/name}","comments_url":"https://api.github.com/repos/thomaspark/snowball/issues/219/comments","events_url":"https://api.github.com/repos/thomaspark/snowball/issues/219/events","html_url":"https://github.com/thomaspark/snowball/issues/219","id":128088433,"number":219,"title":"Use capabilities on snowball post type?","user":{"login":"noelforte","id":2560683,"avatar_url":"https://avatars.githubusercontent.com/u/2560683?v=3","gravatar_id":"","url":"https://api.github.com/users/noelforte","html_url":"https://github.com/noelforte","followers_url":"https://api.github.com/users/noelforte/followers","following_url":"https://api.github.com/users/noelforte/following{/other_user}","gists_url":"https://api.github.com/users/noelforte/gists{/gist_id}","starred_url":"https://api.github.com/users/noelforte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noelforte/subscriptions","organizations_url":"https://api.github.com/users/noelforte/orgs","repos_url":"https://api.github.com/users/noelforte/repos","events_url":"https://api.github.com/users/noelforte/events{/privacy}","received_events_url":"https://api.github.com/users/noelforte/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-22T05:35:37Z","updated_at":"2016-01-22T05:35:37Z","closed_at":null,"body":"Hi guys,\r\n\r\nI've made a modification to the snowball plugin and added custom capabilities so that only certain roles can actually publish posts. Rather than assign the capabilities to the roles in the plugin itself, I'm using the Members plugin on The Triangle site to add the capabilities to roles, but obviously you'd want to bind the roles and capabilities directly in the plugin code if this ever went to production. Here's what I've done on my own copy of snowball:\r\n\r\n<img width=\"465\" alt=\"screen shot 2016-01-22 at 12 27 35 am\" src=\"https://cloud.githubusercontent.com/assets/2560683/12503122/27e3e4a0-c09f-11e5-8466-ee5e4141a3de.PNG\">\r\n\r\nSnowball articles have the ability to become vastly different than articles using custom built templates, because well...they can use a completely different template, or look completely different from the rest of the site when published. By using custom capabilities and assigning them to the default roles that have the ability to publish posts the average user won't see any difference in their experience, but for us that want to have a bit more control, this keeps us from having to modify the plugin to add the custom capabilities."}}