{"action":"created","issue":{"url":"https://api.github.com/repos/coralproject/cay/issues/62","repository_url":"https://api.github.com/repos/coralproject/cay","labels_url":"https://api.github.com/repos/coralproject/cay/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/coralproject/cay/issues/62/comments","events_url":"https://api.github.com/repos/coralproject/cay/issues/62/events","html_url":"https://github.com/coralproject/cay/issues/62","id":136877976,"number":62,"title":"Create Save User Group functionality","user":{"login":"jde","id":259957,"avatar_url":"https://avatars.githubusercontent.com/u/259957?v=3","gravatar_id":"","url":"https://api.github.com/users/jde","html_url":"https://github.com/jde","followers_url":"https://api.github.com/users/jde/followers","following_url":"https://api.github.com/users/jde/following{/other_user}","gists_url":"https://api.github.com/users/jde/gists{/gist_id}","starred_url":"https://api.github.com/users/jde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jde/subscriptions","organizations_url":"https://api.github.com/users/jde/orgs","repos_url":"https://api.github.com/users/jde/repos","events_url":"https://api.github.com/users/jde/events{/privacy}","received_events_url":"https://api.github.com/users/jde/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/coralproject/cay/labels/kind/enhancement","name":"kind/enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"riley","id":282503,"avatar_url":"https://avatars.githubusercontent.com/u/282503?v=3","gravatar_id":"","url":"https://api.github.com/users/riley","html_url":"https://github.com/riley","followers_url":"https://api.github.com/users/riley/followers","following_url":"https://api.github.com/users/riley/following{/other_user}","gists_url":"https://api.github.com/users/riley/gists{/gist_id}","starred_url":"https://api.github.com/users/riley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riley/subscriptions","organizations_url":"https://api.github.com/users/riley/orgs","repos_url":"https://api.github.com/users/riley/repos","events_url":"https://api.github.com/users/riley/events{/privacy}","received_events_url":"https://api.github.com/users/riley/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-02-27T04:34:20Z","updated_at":"2016-03-24T14:52:49Z","closed_at":null,"body":"We need to be able to save user groups.  The Xenia query_set api gives us everything we need to do so.\r\n\r\nUser groups should be expressed in query_sets like so:\r\n```\r\n{\r\n  name: '<this is the user group name defined by the user>',\r\n  desc: '<this is the user group description defined by the user>',\r\n  pre_script: '',\r\n  pst_script: '',\r\n  params: [],\r\n  tags: [\"userGroup\"],\r\n  queries: [\r\n    {\r\n      name: 'user_search',\r\n      type: 'pipeline',\r\n      collection: 'users',\r\n      commands: [\r\n        <filterState rendered into commands>\r\n      ],\r\n      return: true\r\n    }\r\n  ]\r\n};\r\n```\r\n\r\nNotes:\r\n* The name and desc fields should come from user input through form fields\r\n* the filterState should come from user input through the filter interface (#60) \r\n* the \"userGroup\" tag identifies this query_set as a user group so we can render the list "},"comment":{"url":"https://api.github.com/repos/coralproject/cay/issues/comments/200870670","html_url":"https://github.com/coralproject/cay/issues/62#issuecomment-200870670","issue_url":"https://api.github.com/repos/coralproject/cay/issues/62","id":200870670,"user":{"login":"jde","id":259957,"avatar_url":"https://avatars.githubusercontent.com/u/259957?v=3","gravatar_id":"","url":"https://api.github.com/users/jde","html_url":"https://github.com/jde","followers_url":"https://api.github.com/users/jde/followers","following_url":"https://api.github.com/users/jde/following{/other_user}","gists_url":"https://api.github.com/users/jde/gists{/gist_id}","starred_url":"https://api.github.com/users/jde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jde/subscriptions","organizations_url":"https://api.github.com/users/jde/orgs","repos_url":"https://api.github.com/users/jde/repos","events_url":"https://api.github.com/users/jde/events{/privacy}","received_events_url":"https://api.github.com/users/jde/received_events","type":"User","site_admin":false},"created_at":"2016-03-24T14:52:49Z","updated_at":"2016-03-24T14:52:49Z","body":"![unspecified-3](https://cloud.githubusercontent.com/assets/259957/14020668/8b022e08-f1ae-11e5-9808-ee2a06bfd7ac.png)\r\n"}}