Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Groups = map[string][]string{
"admin": {
"atm",
"datm",
"wm",
},
"training": {
"ta",
"ins",
"mtr",
},
"events": {
"ec",
"events",
},
"fac": {
"fe",
"facilities",
},
"web": {
"wm",
"web",
},
"files": {
"atm",
"datm",
"wm",
"ta",
"ec",
"fe",
"facilities",
},
}
View Source
var Roles = map[string]Role{ "atm": { Name: "atm", RolesCanAdd: []string{ "atm", "datm", "wm", }, }, "datm": { Name: "datm", RolesCanAdd: []string{ "atm", "datm", "wm", }, }, "ta": { Name: "ta", RolesCanAdd: []string{ "atm", "datm", "wm", }, }, "ec": { Name: "ec", RolesCanAdd: []string{ "atm", "datm", "wm", }, }, "fe": { Name: "fe", RolesCanAdd: []string{ "atm", "datm", "wm", }, }, "wm": { Name: "wm", RolesCanAdd: []string{ "atm", "datm", "wm", }, }, "ins": { Name: "ins", RolesCanAdd: []string{ "atm", "datm", "ta", "wm", }, }, "mtr": { Name: "mtr", RolesCanAdd: []string{ "atm", "datm", "ta", "wm", }, }, "events": { Name: "events", RolesCanAdd: []string{ "atm", "datm", "ec", "wm", }, }, "web": { Name: "web", RolesCanAdd: []string{ "atm", "datm", "wm", }, }, "facilities": { Name: "facilities", RolesCanAdd: []string{ "atm", "datm", "fe", "wm", }, }, }
Functions ¶
func SetupGroups ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.