{"push_id":586554006,"size":2,"distinct_size":1,"ref":"refs/heads/master","head":"b3bd4e3934e8e171a112aa3d1d361652aeee7c47","before":"6453da965024cae2d0ddb005452896f6670a9804","commits":[{"sha":"87cbf3ea8d0cb2066e8f271d094b47ea9c5440e0","author":{"email":"26790e7720e28208cb3eb2cfc7843ff24b32f0ed@gmail.com","name":"ujkhokhar"},"message":"Set up user roles, add pundit, define rules for users","distinct":false,"url":"https://api.github.com/repos/UJKhokhar/bloccit/commits/87cbf3ea8d0cb2066e8f271d094b47ea9c5440e0"},{"sha":"b3bd4e3934e8e171a112aa3d1d361652aeee7c47","author":{"email":"26790e7720e28208cb3eb2cfc7843ff24b32f0ed@gmail.com","name":"ujkhokhar"},"message":"Add user roles, add pundit, define authorization policies.\n\nCreate migration to add roles to users in database. Add admin? and\nmoderator? methods to the user model. Define application policy rules.\nCreate post policies for post objects allowing only logged in users to\nedit their own posts and create posts. Allow admins to edit or delete\nany post.","distinct":true,"url":"https://api.github.com/repos/UJKhokhar/bloccit/commits/b3bd4e3934e8e171a112aa3d1d361652aeee7c47"}]}