badoo / codeisok

Git code browsing and code review tool
GNU General Public License v3.0
85 stars 16 forks source link

New access mode config option and some staff to make it usefull #3

Closed Md-Cake closed 7 years ago

Md-Cake commented 7 years ago

I've added support for different access modes in the ssh_serve.php script. For now, it supports 2 modes: NORMAL which is default and ALLOW_ALL which enables RW access for all non-system users to all non-restricted repositories. More info can be found in gitphp.conf.php file.

I've also added few fields for Users table so that we can have more info about our users: now you can specify email and comment for every user. The comment field is used by ALLOW_ALL access mode to control who is real users.