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