mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-10-29 17:25:32 +00:00
session + user structs, some light refactoring, user roles
This commit is contained in:
@@ -142,3 +142,15 @@ func (a *Agent) SetEditState(editState string) {
|
||||
func (a *Agent) Comment() string {
|
||||
return a.GetString(COMMENT_FIELD)
|
||||
}
|
||||
|
||||
func (a *Agent) SetComment(comments string) {
|
||||
a.Set(COMMENT_FIELD, comments)
|
||||
}
|
||||
|
||||
func (a *Agent) Editor() string {
|
||||
return a.GetString(EDITOR_FIELD)
|
||||
}
|
||||
|
||||
func (a *Agent) SetEditor(editor string) {
|
||||
a.Set(EDITOR_FIELD, editor)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user