Documentation ¶
Index ¶
Constants ¶
View Source
const ( SuperAdmin = 0 EventAdmin = 1 GroupAdmin = 2 )
User roles
Variables ¶
This section is empty.
Functions ¶
func ClearUserIDFromCookie ¶
ClearUserIDFromCookie clears the userId for the current suer
func GetUserIDFromCookie ¶
GetUserIDFromCookie gets the userId for the current user
func HasAccessToGroup ¶
HasAccessToGroup checks if a user is an admin for a group
func IsLoggedIn ¶
IsLoggedIn checks if the current user is logged in
func StoreUserIDInCookie ¶
StoreUserIDInCookie stores the userId for teh current user
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.