fix: permissions (#698)

* get my zitadel permissions from memberships (not grants)

* change SearchMyProjectOrgs to user user_membership
This commit is contained in:
Livio Amstutz
2020-09-04 15:20:39 +02:00
committed by GitHub
parent a2aabe577a
commit cca92874ab
9 changed files with 454 additions and 62 deletions

View File

@@ -13,12 +13,13 @@ type UserMembershipView struct {
//ObjectID differs from aggregate id if obejct is sub of an aggregate
ObjectID string
Roles []string
DisplayName string
CreationDate time.Time
ChangeDate time.Time
ResourceOwner string
Sequence uint64
Roles []string
DisplayName string
CreationDate time.Time
ChangeDate time.Time
ResourceOwner string
ResourceOwnerName string
Sequence uint64
}
type MemberType int32