Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Protect users projects_limit from mass assignment. #1561

Merged
merged 1 commit into from Sep 26, 2012
Merged

Protect users projects_limit from mass assignment. #1561

merged 1 commit into from Sep 26, 2012

Conversation

dosire
Copy link
Member

@dosire dosire commented Sep 26, 2012

Users should not be able to set their own projects_limit. Before this change they where able to do so by submitting an extra parameter to the profile controller.

dzaporozhets added a commit that referenced this pull request Sep 26, 2012
Protect users projects_limit from mass assignment.
@dzaporozhets dzaporozhets merged commit 3c132f2 into gitlabhq:master Sep 26, 2012
@dosire
Copy link
Member Author

dosire commented Sep 26, 2012

@dzaporozhets
Copy link
Member

:)

maxlazio pushed a commit that referenced this pull request May 8, 2015
In an empty repository, pushing a new branch not called "master" would
leave HEAD in an unknown state, causing ambiguity if another branch
were pushed. This could in turn cause a new protected branch to be
created and cause the default branch to change.

* Closes #1561
* Closes #1576
* Closes https://github.com/gitlabhq/gitlabhq/issues/8883
DouweM pushed a commit that referenced this pull request May 8, 2015
Make the first branch pushed to an empty repository the default HEAD

In an empty repository, pushing a new branch not called "master" would leave HEAD in an unknown state, causing ambiguity if another branch were pushed. This could in turn cause a new protected branch to be created and cause the default branch to change.

* Closes #1561
* Closes #1576
* Closes https://github.com/gitlabhq/gitlabhq/issues/8883

See merge request !614
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants