summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJakob Borg <jakob@nym.se>2014-05-23 14:31:16 +0200
committerJakob Borg <jakob@nym.se>2014-05-23 14:31:16 +0200
commit8356b58b1ddda7b76f64d95bc11b8c3ae0cc759a (patch)
tree076dbbc3b9755ccb1e731d2338120f0c33d68003 /config
parent303ce02271c669c582baa2c2579dbf6ddde4c1e9 (diff)
Implement IgnorePerms
Diffstat (limited to 'config')
-rw-r--r--config/config.go13
1 files changed, 7 insertions, 6 deletions
diff --git a/config/config.go b/config/config.go
index 37c79ad3ac..65016d7065 100644
--- a/config/config.go
+++ b/config/config.go
@@ -27,12 +27,13 @@ type Configuration struct {
}
type RepositoryConfiguration struct {
- ID string `xml:"id,attr"`
- Directory string `xml:"directory,attr"`
- Nodes []NodeConfiguration `xml:"node"`
- ReadOnly bool `xml:"ro,attr"`
- Invalid string `xml:"-"` // Set at runtime when there is an error, not saved
- nodeIDs []string
+ ID string `xml:"id,attr"`
+ Directory string `xml:"directory,attr"`
+ Nodes []NodeConfiguration `xml:"node"`
+ ReadOnly bool `xml:"ro,attr"`
+ IgnorePerms bool `xml:"ignorePerms,attr"`
+ Invalid string `xml:"-"` // Set at runtime when there is an error, not saved
+ nodeIDs []string
}
func (r *RepositoryConfiguration) NodeIDs() []string {