{"push_id":2815415437,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"dd23bbce99bd86b03be779f1f91399fdb408d13c","before":"59b51fe781dfcfff8feec760b6be473e00f96e98","commits":[{"sha":"f0aa024d64679b33774b187469918fe00b29b968","author":{"name":"Brandon Simpkins","email":"9ce1496e65297919375e0efa9d05cea699ebb722@gmail.com"},"message":"Added fine grain permission controls\n\nAdded the rest_framework.permissions.DjangoModelPermissions class so\nthat DRF can manage user access to views based on crud roles. The roles\nare generated by the generic views, and it makes user authorization easy\npeasy.\n\nUpdated all of the views to require permissions.DjangoModelPermissions,\nso that users that aren't in a specific group can't do anything to data.\nMade sure that the User data view is locked down to admins only.\n\nThis checkin actually causes another issue that I'll fix shortly. The\nway the certs are generated, the DRF user management panel complains\nabout having spaces in the username. I'll need to alter the remote auth\nbackend to clean the usernames up and simplify things.","distinct":true,"url":"https://api.github.com/repos/brandonsimpkins/tactical-edge-computing/commits/f0aa024d64679b33774b187469918fe00b29b968"},{"sha":"dd23bbce99bd86b03be779f1f91399fdb408d13c","author":{"name":"Brandon Simpkins","email":"9ce1496e65297919375e0efa9d05cea699ebb722@gmail.com"},"message":"Cleaned Remote Auth provided usernames\n\nCert subjects have a lot of characters in them that django just doesnt\nlike to have in usernames. Sure you can use the model classes and add\nthem in directly, but thats a pain. The UI complains about almost all\nspecial chars.\n\nObviously this change wouldn't really fly in a real production\nenviroment, but again, it's another simplification for the demo.\n\nI created a RemoteUserBackend class  and overrode the clean_username\nfunction. Basically it pull the user's actual name off the cert subject\nand strips all special chars. This is ripe for username coliisions.\n\nUpdated the django settinsg to use the new ReverseProxyRemoteUserBackend","distinct":true,"url":"https://api.github.com/repos/brandonsimpkins/tactical-edge-computing/commits/dd23bbce99bd86b03be779f1f91399fdb408d13c"}]}
{"actor":{"display_login":"brandonsimpkins"}}