~evanj/cms

ref: 8a453a73244ce94c291204147a7ee2cbf61f7ab2 cms/internal/m/user/user.go -rw-r--r-- 239 bytes
8a453a73Evan M Jones Fix(testing): Refactor'd tests per RBAC feat breakage. All tests 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package user

import (
	"git.sr.ht/~evanj/cms/internal/m/org"
	"git.sr.ht/~evanj/cms/internal/m/role"
)

type User interface {
	ID() string
	Name() string
	Token() string
	Org() org.Org
	HasEmail() bool
	Email() string
	Role() role.Role
}