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:
@@ -81,3 +81,11 @@ func (p *Place) Comment() string {
|
||||
func (p *Place) SetComment(comment string) {
|
||||
p.Set(COMMENT_FIELD, comment)
|
||||
}
|
||||
|
||||
func (p *Place) Editor() string {
|
||||
return p.GetString(EDITOR_FIELD)
|
||||
}
|
||||
|
||||
func (p *Place) SetEditor(editor string) {
|
||||
p.Set(EDITOR_FIELD, editor)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user