James Moger
2012-10-21 72cb19b84e87e63770391a37ea3872f963574869
refs
author James Moger <james.moger@gitblit.com>
Sunday, October 21, 2012 22:04 -0400
committer James Moger <james.moger@gitblit.com>
Sunday, October 21, 2012 22:04 -0400
commit72cb19b84e87e63770391a37ea3872f963574869
tree 2b48634b92c7ccf598ee6ac68c9c2f0d95a857b8 tree | zip | gz
parent 517865c182c322b47d2cdd825c50d385a3c274f0 view | diff
Implemented optional create-on-push

If this feature is enabled then permitted users can automatically create a
repository when pushing to one that does not yet exist. Permitted users
are administrators and any user with the CREATE role.

If the pushing account is an administrator, the created repository may be
located in any folder/project space. This reposiory will inherit the server's
default access restriction and authorization control. The repository owner
will be the pushing account.

If the pushing account is a regular user with the CREATE role, the repository
can only be located in the account's personal folder (~username/myrepo.git).
This repository will be VIEW restricted and accessible by NAMED users. The
repository owner will be the pushing account.
10 files modified
275 ■■■■■ changed files
distrib/gitblit.properties 14 ●●●●● diff | view | raw | blame | history
docs/01_features.mkd 1 ●●●● diff | view | raw | blame | history
docs/04_releases.mkd 2 ●●●●● diff | view | raw | blame | history
docs/05_roadmap.mkd 4 ●●●● diff | view | raw | blame | history
src/com/gitblit/AccessRestrictionFilter.java 49 ●●●● diff | view | raw | blame | history
src/com/gitblit/DownloadZipFilter.java 10 ●●●●● diff | view | raw | blame | history
src/com/gitblit/GitFilter.java 57 ●●●●● diff | view | raw | blame | history
src/com/gitblit/PagesFilter.java 10 ●●●●● diff | view | raw | blame | history
src/com/gitblit/models/UserModel.java 22 ●●●●● diff | view | raw | blame | history
tests/com/gitblit/tests/GitServletTest.java 106 ●●●●● diff | view | raw | blame | history