user

package
v0.0.0-...-d450093 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUserLevel

func GetUserLevel(ds projector.Datastore, uid int) (string, error)

GetUserLevel returns the structre level for user id as json.

func GetUserName

func GetUserName(ds projector.Datastore, uid int) ([]byte, error)

GetUserName returns the display name for an user id.

func GetUserShortName

func GetUserShortName(ds projector.Datastore, uid int) ([]byte, error)

GetUserShortName returns the short display name for an user id (name without structure_level)

func PersonalNoteRestrict

func PersonalNoteRestrict(uid int, data json.RawMessage) (json.RawMessage, error)

PersonalNoteRestrict is the restricter for users/personal_note.

func Restrict

Restrict handels restrictions of users/user elements.

func Slide

func Slide() projector.CallableFunc

Slide renders "users/user".

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL