{"id":16209564,"date":"2022-11-17T17:47:37","date_gmt":"2022-11-17T17:47:37","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/shiftcontroller\/"},"modified":"2022-11-17T17:47:37","modified_gmt":"2022-11-17T17:47:37","slug":"shiftcontroller","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/shiftcontroller\/","title":{"rendered":"Shiftcontroller"},"content":{"rendered":"<p>I know this ask is in the pipeline with the developer.  I thought I&#8217;d put it out on this forum to see if anyone happened to have a code snippet they would be willing to share that would accomplish this until the developer was able to get to it.  <\/p>\n<p>When a Manager is assigned to a calendar, I would love for them to be able to add\/remove employess and add\/remove\/edit shift types just for the calendars they are assigned to.  Currently, you have to an Administrator to do this.  I don&#8217;t want my Managers to have access in any way to any calendars that they have not been assigned to so I can&#8217;t make them administrators.  I just need them to be able to add\/remove employees and add\/remove\/edit shift types for their calendars.<\/p>\n<p>I know it&#8217;s a long shot, but I thought I&#8217;d ask!  Thank you so much!<\/p>\n","protected":false},"template":"","class_list":["post-16209564","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16209564","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\/16209564\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=16209564"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}