Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Owner unable to delete channel or group from APIs #9729

Merged
merged 3 commits into from
Apr 17, 2018

Conversation

c0dzilla
Copy link
Contributor

@RocketChat/core

Closes #9704

Delete room privileges have been made default for owner.

@c0dzilla c0dzilla changed the title [BUG] Enabled default room delete permissions to owner [BUG] Enabled default room delete permissions for owner Feb 15, 2018
@geekgonecrazy geekgonecrazy changed the title [BUG] Enabled default room delete permissions for owner [FIX] Enabled default room delete permissions for owner Feb 16, 2018
@c0dzilla
Copy link
Contributor Author

c0dzilla commented Mar 4, 2018

@geekgonecrazy please review.

geekgonecrazy
geekgonecrazy previously approved these changes Mar 30, 2018
@geekgonecrazy
Copy link
Member

@sampaiodiego this looks good to me. But any side effects you can think of? Looks pretty safe

@geekgonecrazy geekgonecrazy changed the title [FIX] Enabled default room delete permissions for owner [FIX] Owner unable to delete channel or group Mar 30, 2018
Copy link
Member

@sampaiodiego sampaiodiego left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this changes are not applied on server updates. just fresh new installations will have the permission. we need a migration for this to be applied for server updates.

also, there is no UI for this new permissions, should we have them to be used by APIs and add an UI later?

@geekgonecrazy geekgonecrazy dismissed their stale review April 2, 2018 17:54

forgot about migration

@c0dzilla c0dzilla force-pushed the delete-permissions branch 2 times, most recently from bcceb2a to 8b3faae Compare April 2, 2018 21:28
@RocketChat RocketChat deleted a comment Apr 2, 2018
@RocketChat RocketChat deleted a comment Apr 2, 2018
@RocketChat RocketChat deleted a comment Apr 2, 2018
@RocketChat RocketChat deleted a comment Apr 2, 2018
@RocketChat RocketChat deleted a comment Apr 2, 2018
@RocketChat RocketChat deleted a comment Apr 2, 2018
@RocketChat RocketChat deleted a comment Apr 2, 2018
@c0dzilla
Copy link
Contributor Author

c0dzilla commented Apr 3, 2018

@geekgonecrazy @sampaiodiego I've added the migration.

@frispete
Copy link

Hope to find this changeset in a release soon (using RocketChat from a private Sandstorm installation here)

@sampaiodiego sampaiodiego added this to the 0.64.0 milestone Apr 16, 2018
@sampaiodiego sampaiodiego added this to Desireable in 0.64.0 via automation Apr 16, 2018
@sampaiodiego sampaiodiego changed the title [FIX] Owner unable to delete channel or group [FIX] Owner unable to delete channel or group from APIs Apr 17, 2018
@sampaiodiego sampaiodiego merged commit 2411702 into RocketChat:develop Apr 17, 2018
0.64.0 automation moved this from Desireable to Done Apr 17, 2018
MarcosSpessatto added a commit that referenced this pull request Apr 19, 2018
…-api-chat-postmessage-validations

* commit 'a9fb4da5c847a456990a5d60369f0f52ff4a8bd8': (137 commits)
  Remove "secret" from REST endpoint /settings.oauth response
  [FIX] Directory sort and column sizes were wrong (#10403)
  [FIX] Add oauth services missing fields, and indicate whether the oauth service is customized (#10299)
  Show error message when email verification fails (#10446)
  Correct the column positions in the directory search for users (#10454)
  Fixed custom fields misalignment in registration form (#10463)
  [FIX] Unique identifier file not really being unique (#10341)
  [OTHER] More Listeners for Apps & Utilize Promises inside Apps (#10335)
  [FIX] Empty panel after changing a user's username (#10404)
  [FIX] Russian translation of "False" (#10418)
  [FIX] Links being embedded inside of blockquotes (#10496)
  [FIX] The 'channel.messages' REST API Endpoint error (#10485)
  [OTHER] Develop sync (#10487)
  [FIX] Button on user info contextual bar scrolling with the content (#10358)
  [FIX] "Idle Time Limit" using milliseconds instead of seconds (#9824)
  [NEW] Body of the payload on an incoming webhook is included on the request object (#10259)
  [FIX] Missing i18n translation key for "Unread" (#10387)
  [FIX] Owner unable to delete channel or group from APIs (#9729)
  [NEW] REST endpoint to recover forgotten password (#10371)
  Add REST endpoint chat.reportMessage, to report a message (#10354)
  ...
@rodrigok rodrigok mentioned this pull request Apr 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
0.64.0
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants