Commit Graph

11 Commits (4e64e71e28dcfb9ef41d7cbc63ff1474ad8e5126)

Author SHA1 Message Date
Unknwon 10b93efc4a
repo: able to add organization member as repository collaborator 2017-02-24 13:56:02 -05:00
Unknwon 0696d430c9
protect_branch: only list teams have write access
List teams without write access to the repository cause confusion
to make users think members of team could push to the branch.
2017-02-24 13:19:42 -05:00
Unknwon 6072e9a52c
repo: add protect branch whitelist (#4177)
Add options to add users and teams to whitelist of a protected
branch. This is only available for organizational repositories.
2017-02-23 18:25:12 -05:00
Unknwon b78e03934d
models/access: hasAccess only need userID not user object 2017-02-23 16:15:25 -05:00
Unknwon f4aedda13a
org/team: make 'new' as reserved for team name (#3789) 2017-02-14 03:16:02 -05:00
Unknwon ede58ade4c
models/org_team: fix compile error 2017-02-08 18:18:55 -05:00
Unknwon a2dd9ec2e1
models/org_team: panic when team num_repos is negative (#3671) 2017-02-08 18:13:46 -05:00
Unknwon 8f442dde03
Dirty hack for #3905
I beileve this is a bug in XORM which wrongly identifies a struct
to inappropriate table name. Also seems to be random.
2016-12-21 05:11:52 -05:00
Unknwon 34b92cdb44
Fix #3905 2016-12-20 23:23:57 -05:00
Unknwon 1f2e173a74 Refactor User.Id to User.ID 2016-07-24 01:08:22 +08:00
Unknwon b1d41cfa60 #1692 add admin APIs to add/remove a user from teams 2016-03-25 18:04:02 -04:00