mirror of
https://github.com/penpot/penpot.git
synced 2025-05-31 00:46:11 +02:00
♻️ Clean up and refactors of viewer role
This commit is contained in:
parent
66530ca868
commit
bd08e99080
11 changed files with 53 additions and 60 deletions
|
@ -652,7 +652,7 @@
|
|||
|
||||
(mbus/pub! msgbus
|
||||
:topic member-id
|
||||
:message {:type :team-permissions-change
|
||||
:message {:type :team-role-change
|
||||
:subs-id member-id
|
||||
:team-id team-id
|
||||
:role role})
|
||||
|
@ -711,7 +711,8 @@
|
|||
|
||||
(mbus/pub! msgbus
|
||||
:topic member-id
|
||||
:message {:type :removed-from-team
|
||||
:message {:type :team-membership-change
|
||||
:change :removed
|
||||
:subs-id member-id
|
||||
:team-id team-id
|
||||
:team-name (:name team)})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue