{"id":11999509,"date":"2019-10-04T22:14:20","date_gmt":"2019-10-04T22:14:20","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/can-a-custom-capabilities-do-this\/"},"modified":"2019-10-04T22:14:20","modified_gmt":"2019-10-04T22:14:20","slug":"can-a-custom-capabilities-do-this","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/can-a-custom-capabilities-do-this\/","title":{"rendered":"Can a custom capabilities do this?"},"content":{"rendered":"<p>Your plugin seeems ideal for our conventional needs, but we have a very special one that needs a custom solution. <\/p>\n<p>Specifically, we need know if a custom WP capability can be written whereby a user can be granted permissions such as:<br \/>\n1) Edit another user&#8217;s resources (posts, pages, etc).<br \/>\n2) Edit any resource in a designated collection.<\/p>\n<p>For example, a capability name (generated programmatically) might be:<br \/>\n1) user_can_edit_resourceX<br \/>\n2) user_can_edit_userID_collectionX  (anything in it)<\/p>\n<p>I am not a programmer (just a lowly UI designer). But if we can at least theoretically do this (or something that achieves the same thing), I will alert the engineer to review and engage here, ASAP).<\/p>\n<p>Thank you<\/p>\n","protected":false},"template":"","class_list":["post-11999509","topic","type-topic","status-publish","hentry","topic-tag-capabilities","topic-tag-custom"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11999509","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11999509\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=11999509"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}