ProtectedBranches model, Master permission for repo\n Allow push to protected branch for masters only

This commit is contained in:
Dmitriy Zaporozhets 2012-02-15 22:02:33 +02:00
parent 3a9e5a9357
commit 37224dc9c1
14 changed files with 229 additions and 53 deletions

View file

@ -290,15 +290,18 @@ end
#
# Table name: projects
#
# id :integer not null, primary key
# name :string(255)
# path :string(255)
# description :text
# created_at :datetime
# updated_at :datetime
# private_flag :boolean default(TRUE), not null
# code :string(255)
# owner_id :integer
# default_branch :string(255) default("master"), not null
# id :integer not null, primary key
# name :string(255)
# path :string(255)
# description :text
# created_at :datetime
# updated_at :datetime
# private_flag :boolean default(TRUE), not null
# code :string(255)
# owner_id :integer
# default_branch :string(255) default("master"), not null
# issues_enabled :boolean default(TRUE), not null
# wall_enabled :boolean default(TRUE), not null
# merge_requests_enabled :boolean default(TRUE), not null
#