feat: Users API, ownership transfer and removal of the legacy role string
This commit is contained in:
1 parent
094df63a7f
commit
80f7037d3a
124 files changed
+4644
-824
No files matched your search
@@ -27,6 +27,7 @@ var (
|
||||
ErrNotBuiltIn = errors.New("role is not built in")
|
||||
ErrInvalidReassign = errors.New("invalid reassign target")
|
||||
ErrEscalation = errors.New("grants more than the caller holds")
|
||||
ErrUnknownRole = errors.New("unknown role")
|
||||
)
|
||||
|
||||
type Scope string
|
||||
|
||||
@@ -9,4 +9,5 @@ type Repository interface {
|
||||
Delete(id uint32) error
|
||||
ReassignMembers(from uint32, to uint32) (int, error)
|
||||
RemoveTypedGrants(typeKey string) (int, error)
|
||||
MemberCounts() (map[uint32]int, error)
|
||||
}
|
||||
Reference in new issue
Block a user