Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

confused of the room owners role scope

Open javaning opened this issue 10 years ago • 1 comments

Your (or my) Rocket.Chat version: (0.20.0)

here why are moderator&owner scope assigned "Subscriptions" ?

  { name: 'moderator', scope: 'Subscriptions', description: 'Room moderators' }
  { name: 'owner', scope: 'Subscriptions', description: 'Room owners' }

can anyone explain and tell me why? thanks

javaning avatar Mar 04 '16 07:03 javaning

Hi, scope tells the system on what data model the information should be stored. Since the Subscription object is what controls the relationship of each User to a Room, we decided to store their roles there.

engelgabriel avatar Mar 04 '16 16:03 engelgabriel