feat: add groups and start refactor of tree model for tui elements

This commit is contained in:
Slug-Boi
2024-11-08 16:19:02 +01:00
parent 49692669b8
commit 56cf60e071
4 changed files with 246 additions and 19 deletions
+2 -2
View File
@@ -57,7 +57,8 @@ func Define_users(author_file string) {
if info[4] == "ex" {
DefExclude = append(DefExclude, info[2])
}
} else if len(group_info) > 0 {
}
if len(group_info) > 0 {
// Group assignment
for _, group := range group_info {
if Groups[group] == nil {
@@ -89,4 +90,3 @@ func TempAddUser(username, email string) {
Users[username] = usr
}