aboutsummaryrefslogtreecommitdiff
path: root/models/org_team.go
Commit message (Collapse)AuthorAge
* models/protect_branch: fix whitelist with invalid 'protect_branch_id' (#4333)Unknwon2017-03-27
| | | | | | | | If user creates a protect branch for the first time (which has ID=0), it generates invalid whitelist records with 'protect_branch_id=0'. This prevents future updates of protect branch whitelist. Migration: remove existing invalid protect branch whitelist records.
* cmd/web: remove dependency version checkerUnknwon2017-03-25
|
* repo: able to add organization member as repository collaboratorUnknwon2017-02-24
|
* protect_branch: only list teams have write accessUnknwon2017-02-24
| | | | | List teams without write access to the repository cause confusion to make users think members of team could push to the branch.
* repo: add protect branch whitelist (#4177)Unknwon2017-02-23
| | | | | Add options to add users and teams to whitelist of a protected branch. This is only available for organizational repositories.
* models/access: hasAccess only need userID not user objectUnknwon2017-02-23
|
* org/team: make 'new' as reserved for team name (#3789)Unknwon2017-02-14
|
* models/org_team: fix compile errorUnknwon2017-02-08
|
* models/org_team: panic when team num_repos is negative (#3671)Unknwon2017-02-08
|
* Dirty hack for #3905Unknwon2016-12-21
| | | | | I beileve this is a bug in XORM which wrongly identifies a struct to inappropriate table name. Also seems to be random.
* Fix #3905Unknwon2016-12-20
|
* Refactor User.Id to User.IDUnknwon2016-07-24
|
* #1692 add admin APIs to add/remove a user from teamsUnknwon2016-03-25