Show More
@@ -227,7 +227,8 b' def RepoSettingsForm(edit=False, old_dat' | |||||
227 | repo_name = All(v.UnicodeString(strip=True, min=1, not_empty=True), |
|
227 | repo_name = All(v.UnicodeString(strip=True, min=1, not_empty=True), | |
228 | v.SlugifyName()) |
|
228 | v.SlugifyName()) | |
229 | description = v.UnicodeString(strip=True, min=1, not_empty=True) |
|
229 | description = v.UnicodeString(strip=True, min=1, not_empty=True) | |
230 |
repo_group = v. |
|
230 | repo_group = All(v.CanWriteGroup(), | |
|
231 | v.OneOf(repo_groups, hideList=True)) | |||
231 | private = v.StringBoolean(if_missing=False) |
|
232 | private = v.StringBoolean(if_missing=False) | |
232 | landing_rev = v.OneOf(landing_revs, hideList=True) |
|
233 | landing_rev = v.OneOf(landing_revs, hideList=True) | |
233 | chained_validators = [v.ValidRepoName(edit, old_data), v.ValidPerms(), |
|
234 | chained_validators = [v.ValidRepoName(edit, old_data), v.ValidPerms(), |
General Comments 0
You need to be logged in to leave comments.
Login now