mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-18 05:47:32 +00:00
75f1c4c576
* feat: add search user memberships * feat: add search user memberships * feat: read user member ship * feat: add usergrant search key * feat: uesrmemberships based on permissions * feat: merge master * fix: correct permissions * fix: update display name on change profile * fix: merge request converations * fix: err handling * Update internal/user/model/user_membership_view.go Co-authored-by: Silvan <silvan.reusser@gmail.com> Co-authored-by: Silvan <silvan.reusser@gmail.com>
16 lines
350 B
SQL
16 lines
350 B
SQL
CREATE TABLE management.user_memberships (
|
|
user_id TEXT,
|
|
member_type SMALLINT,
|
|
aggregate_id TEXT,
|
|
object_id TEXT,
|
|
|
|
roles TEXT ARRAY,
|
|
display_name TEXT,
|
|
resource_owner TEXT,
|
|
creation_date TIMESTAMPTZ,
|
|
change_date TIMESTAMPTZ,
|
|
sequence BIGINT,
|
|
|
|
PRIMARY KEY (user_id, member_type, aggregate_id, object_id)
|
|
);
|