1) Windows group-based auth 2) building and deployment instructions#74
1) Windows group-based auth 2) building and deployment instructions#74maxim--s wants to merge 6 commits intootac0n:masterfrom
Conversation
maxim--s
commented
May 19, 2013
- Limits repo creation and push rights to the Windows group members, the group name is in web.confg
- Added BuildingAndDeployment.txt
…ogged on to client's browser (for Git hooks to work, authorization-related and maybe others)
… "repo creators" group
…oreUserAccessControl Conflicts: WebGitNet/Views/Shared/_Layout.cshtml
|
What I have coming for authorization is much more extensive than this, though windows group based would be a good extra authorization provider for my implementation, which includes a Git Hook to provide additional restrictions. |
|
We should get together to turn this into a an Autorization provider implementation. |
|
See Issue #64. My commit, almost ready for pull request, is here: https://github.com/gregsohl/WebGitNet/tree/AuthorizationLayer. The hook isn't there, though I'm ready to push it. Maybe later today. |
|
Had a brief look at your code, it looks really great. Since probably I will need to deploy Git soon at my workplace, I will use my code for now, till your code (much better one) will be fully done. BTW – I’m using this code snippet: From: Greg Sohl [mailto:notifications@github.com] What I have coming for authorization is much more extensive than this, though windows group based would be a good extra authorization provider for my implementation, which includes a Git Hook to provide additional restrictions. — |
|
Cool. I am using Windows Authentication. The authorization layer is based on the Gitolite config file layout. For my hook's purpose, I am putting the authenticated user information in a environment variable before executing Git. The hook can pick it up and then evaluate using the same set of permissions, from the config file. Would be easy to layer your windows groups based approach in this. Greg |
|
That’s good, Greg. Looks like I was making a point solution just to satisfy the particular needs, while you’re working on a serious well-designed stuff, also compatible with Linux stuff in terms of access rights file layout. Probably both should survive in the master branch someday ☺ |