summaryrefslogtreecommitdiff
path: root/Hutch/Models/Git.swift
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-04-12 22:16:14 -0500
committerChristian Cleberg <[email protected]>2026-04-12 22:16:14 -0500
commit7a875798fea9321bad2636040d9be2c30bc0fa8f (patch)
treeb0569f6413454f423c4ddaa6b25307bc987ef81d /Hutch/Models/Git.swift
parent86bcd9452d3107f68aca085e03e69b02667c0dbb (diff)
downloadhutch-7a875798fea9321bad2636040d9be2c30bc0fa8f.tar.gz
hutch-7a875798fea9321bad2636040d9be2c30bc0fa8f.tar.bz2
hutch-7a875798fea9321bad2636040d9be2c30bc0fa8f.zip
feat: add repository acl management
Implements: https://todo.sr.ht/~ccleberg/hutch/39 Implements: https://todo.sr.ht/~ccleberg/hutch/40 Implements: https://todo.sr.ht/~ccleberg/hutch/41
Diffstat (limited to 'Hutch/Models/Git.swift')
-rw-r--r--Hutch/Models/Git.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/Hutch/Models/Git.swift b/Hutch/Models/Git.swift
index a45086b..3629ce4 100644
--- a/Hutch/Models/Git.swift
+++ b/Hutch/Models/Git.swift
@@ -10,7 +10,7 @@ enum Visibility: String, Codable, Sendable {
}
/// Repository access mode.
-enum AccessMode: String, Codable, Sendable {
+enum AccessMode: String, Codable, Sendable, CaseIterable {
case ro = "RO"
case rw = "RW"
}