GitHub PullRequestEvent at 2014-03-16 03:27:34
Repository: skilljoy
Actor: m-mmoocs
Payload: {"action":"opened","number":13,"pull_request":{"url":"https://api.github.com/repos/m-mmoocs/skilljoy/pulls/13","id":13609390,"html_url":"https://github.com/m-mmoocs/skilljoy/pull/13","diff_url":"https://github.com/m-mmoocs/skilljoy/pull/13.diff","patch_url":"https://github.com/m-mmoocs/skilljoy/pull/13.patch","issue_url":"https://api.github.com/repos/m-mmoocs/skilljoy/issues/13","number":13,"state":"open","title":"User permissions","user":{"login":"m-mmoocs","id":6421422,"avatar_url":"https://gravatar.com/avatar/b3d11bc0940825dff4f2d3c06fb50358?d=https%3A%2F%2Fidenticons.github.com%2F75e1240dcb31734cc825900cd6943df0.png&r=x","gravatar_id":"b3d11bc0940825dff4f2d3c06fb50358","url":"https://api.github.com/users/m-mmoocs","html_url":"https://github.com/m-mmoocs","followers_url":"https://api.github.com/users/m-mmoocs/followers","following_url":"https://api.github.com/users/m-mmoocs/following{/other_user}","gists_url":"https://api.github.com/users/m-mmoocs/gists{/gist_id}","starred_url":"https://api.github.com/users/m-mmoocs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-mmoocs/subscriptions","organizations_url":"https://api.github.com/users/m-mmoocs/orgs","repos_url":"https://api.github.com/users/m-mmoocs/repos","events_url":"https://api.github.com/users/m-mmoocs/events{/privacy}","received_events_url":"https://api.github.com/users/m-mmoocs/received_events","type":"User","site_admin":false},"body":"This adds the user permissions feature, and relevant table structures.  Note that you till have to manually add permissions in the user_permissions table depending on your user id.\r\n\r\nExample usage of the has_permission function is included in home-v.php.\r\n\r\nIncluded is an updated skilljoy.sql file.  I suggest we all start working with the same data - so give some thought as to what units / questions / answers you would like in your presentation.  Feel free to delete and add units as you like - then share/commit a skilljoy.sql file with the relevant data.","created_at":"2014-03-16T03:27:33Z","updated_at":"2014-03-16T03:27:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0351d86dd7fd0d68dc3cac9c8cc30288b704db3c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/m-mmoocs/skilljoy/pulls/13/commits","review_comments_url":"https://api.github.com/repos/m-mmoocs/skilljoy/pulls/13/comments","review_comment_url":"https://api.github.com/repos/m-mmoocs/skilljoy/pulls/comments/{number}","comments_url":"https://api.github.com/repos/m-mmoocs/skilljoy/issues/13/comments","statuses_url":"https://api.github.com/repos/m-mmoocs/skilljoy/statuses/3e73bb968fad9b62af221287117d04da34397412","head":{"label":"m-mmoocs:user-permissions","ref":"user-permissions","sha":"3e73bb968fad9b62af221287117d04da34397412","user":{"login":"m-mmoocs","id":6421422,"avatar_url":"https://gravatar.com/avatar/b3d11bc0940825dff4f2d3c06fb50358?d=https%3A%2F%2Fidenticons.github.com%2F75e1240dcb31734cc825900cd6943df0.png&r=x","gravatar_id":"b3d11bc0940825dff4f2d3c06fb50358","url":"https://api.github.com/users/m-mmoocs","html_url":"https://github.com/m-mmoocs","followers_url":"https://api.github.com/users/m-mmoocs/followers","following_url":"https://api.github.com/users/m-mmoocs/following{/other_user}","gists_url":"https://api.github.com/users/m-mmoocs/gists{/gist_id}","starred_url":"https://api.github.com/users/m-mmoocs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-mmoocs/subscriptions","organizations_url":"https://api.github.com/users/m-mmoocs/orgs","repos_url":"https://api.github.com/users/m-mmoocs/repos","events_url":"https://api.github.com/users/m-mmoocs/events{/privacy}","received_events_url":"https://api.github.com/users/m-mmoocs/received_events","type":"User","site_admin":false},"repo":{"id":17299128,"name":"skilljoy","full_name":"m-mmoocs/skilljoy","owner":{"login":"m-mmoocs","id":6421422,"avatar_url":"https://gravatar.com/avatar/b3d11bc0940825dff4f2d3c06fb50358?d=https%3A%2F%2Fidenticons.github.com%2F75e1240dcb31734cc825900cd6943df0.png&r=x","gravatar_id":"b3d11bc0940825dff4f2d3c06fb50358","url":"https://api.github.com/users/m-mmoocs","html_url":"https://github.com/m-mmoocs","followers_url":"https://api.github.com/users/m-mmoocs/followers","following_url":"https://api.github.com/users/m-mmoocs/following{/other_user}","gists_url":"https://api.github.com/users/m-mmoocs/gists{/gist_id}","starred_url":"https://api.github.com/users/m-mmoocs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-mmoocs/subscriptions","organizations_url":"https://api.github.com/users/m-mmoocs/orgs","repos_url":"https://api.github.com/users/m-mmoocs/repos","events_url":"https://api.github.com/users/m-mmoocs/events{/privacy}","received_events_url":"https://api.github.com/users/m-mmoocs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/m-mmoocs/skilljoy","description":null,"fork":false,"url":"https://api.github.com/repos/m-mmoocs/skilljoy","forks_url":"https://api.github.com/repos/m-mmoocs/skilljoy/forks","keys_url":"https://api.github.com/repos/m-mmoocs/skilljoy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/m-mmoocs/skilljoy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/m-mmoocs/skilljoy/teams","hooks_url":"https://api.github.com/repos/m-mmoocs/skilljoy/hooks","issue_events_url":"https://api.github.com/repos/m-mmoocs/skilljoy/issues/events{/number}","events_url":"https://api.github.com/repos/m-mmoocs/skilljoy/events","assignees_url":"https://api.github.com/repos/m-mmoocs/skilljoy/assignees{/user}","branches_url":"https://api.github.com/repos/m-mmoocs/skilljoy/branches{/branch}","tags_url":"https://api.github.com/repos/m-mmoocs/skilljoy/tags","blobs_url":"https://api.github.com/repos/m-mmoocs/skilljoy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/m-mmoocs/skilljoy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/m-mmoocs/skilljoy/git/refs{/sha}","trees_url":"https://api.github.com/repos/m-mmoocs/skilljoy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/m-mmoocs/skilljoy/statuses/{sha}","languages_url":"https://api.github.com/repos/m-mmoocs/skilljoy/languages","stargazers_url":"https://api.github.com/repos/m-mmoocs/skilljoy/stargazers","contributors_url":"https://api.github.com/repos/m-mmoocs/skilljoy/contributors","subscribers_url":"https://api.github.com/repos/m-mmoocs/skilljoy/subscribers","subscription_url":"https://api.github.com/repos/m-mmoocs/skilljoy/subscription","commits_url":"https://api.github.com/repos/m-mmoocs/skilljoy/commits{/sha}","git_commits_url":"https://api.github.com/repos/m-mmoocs/skilljoy/git/commits{/sha}","comments_url":"https://api.github.com/repos/m-mmoocs/skilljoy/comments{/number}","issue_comment_url":"https://api.github.com/repos/m-mmoocs/skilljoy/issues/comments/{number}","contents_url":"https://api.github.com/repos/m-mmoocs/skilljoy/contents/{+path}","compare_url":"https://api.github.com/repos/m-mmoocs/skilljoy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/m-mmoocs/skilljoy/merges","archive_url":"https://api.github.com/repos/m-mmoocs/skilljoy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/m-mmoocs/skilljoy/downloads","issues_url":"https://api.github.com/repos/m-mmoocs/skilljoy/issues{/number}","pulls_url":"https://api.github.com/repos/m-mmoocs/skilljoy/pulls{/number}","milestones_url":"https://api.github.com/repos/m-mmoocs/skilljoy/milestones{/number}","notifications_url":"https://api.github.com/repos/m-mmoocs/skilljoy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/m-mmoocs/skilljoy/labels{/name}","releases_url":"https://api.github.com/repos/m-mmoocs/skilljoy/releases{/id}","created_at":"2014-02-28T20:40:39Z","updated_at":"2014-03-16T03:27:34Z","pushed_at":"2014-03-16T03:17:23Z","git_url":"git://github.com/m-mmoocs/skilljoy.git","ssh_url":"git@github.com:m-mmoocs/skilljoy.git","clone_url":"https://github.com/m-mmoocs/skilljoy.git","svn_url":"https://github.com/m-mmoocs/skilljoy","homepage":null,"size":1808,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"main","master_branch":"main"}},"base":{"label":"m-mmoocs:main","ref":"main","sha":"13a71b19abecbc0515a11a11902804df38ffa91f","user":{"login":"m-mmoocs","id":6421422,"avatar_url":"https://gravatar.com/avatar/b3d11bc0940825dff4f2d3c06fb50358?d=https%3A%2F%2Fidenticons.github.com%2F75e1240dcb31734cc825900cd6943df0.png&r=x","gravatar_id":"b3d11bc0940825dff4f2d3c06fb50358","url":"https://api.github.com/users/m-mmoocs","html_url":"https://github.com/m-mmoocs","followers_url":"https://api.github.com/users/m-mmoocs/followers","following_url":"https://api.github.com/users/m-mmoocs/following{/other_user}","gists_url":"https://api.github.com/users/m-mmoocs/gists{/gist_id}","starred_url":"https://api.github.com/users/m-mmoocs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-mmoocs/subscriptions","organizations_url":"https://api.github.com/users/m-mmoocs/orgs","repos_url":"https://api.github.com/users/m-mmoocs/repos","events_url":"https://api.github.com/users/m-mmoocs/events{/privacy}","received_events_url":"https://api.github.com/users/m-mmoocs/received_events","type":"User","site_admin":false},"repo":{"id":17299128,"name":"skilljoy","full_name":"m-mmoocs/skilljoy","owner":{"login":"m-mmoocs","id":6421422,"avatar_url":"https://gravatar.com/avatar/b3d11bc0940825dff4f2d3c06fb50358?d=https%3A%2F%2Fidenticons.github.com%2F75e1240dcb31734cc825900cd6943df0.png&r=x","gravatar_id":"b3d11bc0940825dff4f2d3c06fb50358","url":"https://api.github.com/users/m-mmoocs","html_url":"https://github.com/m-mmoocs","followers_url":"https://api.github.com/users/m-mmoocs/followers","following_url":"https://api.github.com/users/m-mmoocs/following{/other_user}","gists_url":"https://api.github.com/users/m-mmoocs/gists{/gist_id}","starred_url":"https://api.github.com/users/m-mmoocs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-mmoocs/subscriptions","organizations_url":"https://api.github.com/users/m-mmoocs/orgs","repos_url":"https://api.github.com/users/m-mmoocs/repos","events_url":"https://api.github.com/users/m-mmoocs/events{/privacy}","received_events_url":"https://api.github.com/users/m-mmoocs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/m-mmoocs/skilljoy","description":null,"fork":false,"url":"https://api.github.com/repos/m-mmoocs/skilljoy","forks_url":"https://api.github.com/repos/m-mmoocs/skilljoy/forks","keys_url":"https://api.github.com/repos/m-mmoocs/skilljoy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/m-mmoocs/skilljoy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/m-mmoocs/skilljoy/teams","hooks_url":"https://api.github.com/repos/m-mmoocs/skilljoy/hooks","issue_events_url":"https://api.github.com/repos/m-mmoocs/skilljoy/issues/events{/number}","events_url":"https://api.github.com/repos/m-mmoocs/skilljoy/events","assignees_url":"https://api.github.com/repos/m-mmoocs/skilljoy/assignees{/user}","branches_url":"https://api.github.com/repos/m-mmoocs/skilljoy/branches{/branch}","tags_url":"https://api.github.com/repos/m-mmoocs/skilljoy/tags","blobs_url":"https://api.github.com/repos/m-mmoocs/skilljoy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/m-mmoocs/skilljoy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/m-mmoocs/skilljoy/git/refs{/sha}","trees_url":"https://api.github.com/repos/m-mmoocs/skilljoy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/m-mmoocs/skilljoy/statuses/{sha}","languages_url":"https://api.github.com/repos/m-mmoocs/skilljoy/languages","stargazers_url":"https://api.github.com/repos/m-mmoocs/skilljoy/stargazers","contributors_url":"https://api.github.com/repos/m-mmoocs/skilljoy/contributors","subscribers_url":"https://api.github.com/repos/m-mmoocs/skilljoy/subscribers","subscription_url":"https://api.github.com/repos/m-mmoocs/skilljoy/subscription","commits_url":"https://api.github.com/repos/m-mmoocs/skilljoy/commits{/sha}","git_commits_url":"https://api.github.com/repos/m-mmoocs/skilljoy/git/commits{/sha}","comments_url":"https://api.github.com/repos/m-mmoocs/skilljoy/comments{/number}","issue_comment_url":"https://api.github.com/repos/m-mmoocs/skilljoy/issues/comments/{number}","contents_url":"https://api.github.com/repos/m-mmoocs/skilljoy/contents/{+path}","compare_url":"https://api.github.com/repos/m-mmoocs/skilljoy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/m-mmoocs/skilljoy/merges","archive_url":"https://api.github.com/repos/m-mmoocs/skilljoy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/m-mmoocs/skilljoy/downloads","issues_url":"https://api.github.com/repos/m-mmoocs/skilljoy/issues{/number}","pulls_url":"https://api.github.com/repos/m-mmoocs/skilljoy/pulls{/number}","milestones_url":"https://api.github.com/repos/m-mmoocs/skilljoy/milestones{/number}","notifications_url":"https://api.github.com/repos/m-mmoocs/skilljoy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/m-mmoocs/skilljoy/labels{/name}","releases_url":"https://api.github.com/repos/m-mmoocs/skilljoy/releases{/id}","created_at":"2014-02-28T20:40:39Z","updated_at":"2014-03-16T03:27:34Z","pushed_at":"2014-03-16T03:17:23Z","git_url":"git://github.com/m-mmoocs/skilljoy.git","ssh_url":"git@github.com:m-mmoocs/skilljoy.git","clone_url":"https://github.com/m-mmoocs/skilljoy.git","svn_url":"https://github.com/m-mmoocs/skilljoy","homepage":null,"size":1808,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"main","master_branch":"main"}},"_links":{"self":{"href":"https://api.github.com/repos/m-mmoocs/skilljoy/pulls/13"},"html":{"href":"https://github.com/m-mmoocs/skilljoy/pull/13"},"issue":{"href":"https://api.github.com/repos/m-mmoocs/skilljoy/issues/13"},"comments":{"href":"https://api.github.com/repos/m-mmoocs/skilljoy/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/m-mmoocs/skilljoy/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/m-mmoocs/skilljoy/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/m-mmoocs/skilljoy/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/m-mmoocs/skilljoy/statuses/3e73bb968fad9b62af221287117d04da34397412"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":150,"deletions":15,"changed_files":6}}