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] Missing "Administration" menu for users with some administration permissions #10551

Merged
merged 1 commit into from
Apr 27, 2018
Merged

[FIX] Missing "Administration" menu for users with some administration permissions #10551

merged 1 commit into from
Apr 27, 2018

Conversation

kaiiiiiiiii
Copy link
Contributor

This PR extends #10171 and closes #10226

Description

The following permissions need to enable the three dots admin menu as well:

  • manage-integrations
  • manage-oauth-apps
  • manage-own-integrations
  • manage-sounds
  • view-logs
  • view-statistics

- manage-integrations
- manage-oauth-apps
- manage-own-integrations
- manage-sounds
- view-logs
- view-statistics
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.

thx @kaiiiiiiiii .. although this is not the right solution, it is better than what we have now.

the ideal solution would be removing hardcoded menus and adding them using RocketChat.AdminBox.addOption , then to check if the three dots should be shown we should "ask" to RocketChat.AdminBox if the user has some permission.

@sampaiodiego sampaiodiego added this to the 0.64.0 milestone Apr 27, 2018
@sampaiodiego sampaiodiego added this to Desireable in 0.64.0 via automation Apr 27, 2018
@sampaiodiego sampaiodiego changed the title [FIX] Missing "Administration" menu for users with * permission [FIX] Missing "Administration" menu for users with some administration permissions Apr 27, 2018
@sampaiodiego sampaiodiego merged commit 751d07d into RocketChat:develop Apr 27, 2018
0.64.0 automation moved this from Desireable to Done Apr 27, 2018
@kaiiiiiiiii
Copy link
Contributor Author

I’ll have a look @sampaiodiego and submit a new PR next week when I have a bit of spare time :)

@rodrigok rodrigok mentioned this pull request Apr 28, 2018
trongthanh added a commit to goalifyplus/Goalify.Chat that referenced this pull request May 2, 2018
* develop:
  Regression: Various search provider fixes (RocketChat#10591)
  Fix /api/v1/settings.oauth not sending needed info for SAML & CAS (RocketChat#10596)
  Fix the Apps and Livechats not getting along well with each other (RocketChat#10598)
  [FIX] Missing "Administration" menu for users with some administration permissions (RocketChat#10551)
  [FIX] Member list search with no results (RocketChat#10599)
  Adds Visual Studio Code debugging configuration (RocketChat#10586)
  [FIX] Integrations with room data not having the usernames filled in (RocketChat#10576)
trongthanh added a commit to goalifyplus/Goalify.Chat that referenced this pull request May 2, 2018
* goalify: (104 commits)
  Regression: Various search provider fixes (RocketChat#10591)
  Supplement TOS and privacy policy texts for use within server instances
  Fix /api/v1/settings.oauth not sending needed info for SAML & CAS (RocketChat#10596)
  Fix the Apps and Livechats not getting along well with each other (RocketChat#10598)
  [FIX] Missing "Administration" menu for users with some administration permissions (RocketChat#10551)
  [FIX] Member list search with no results (RocketChat#10599)
  merge vi-VN and vi json
  Add and enhance translations
  Update gitlab, npm package lock, include current server update script
  Adds Visual Studio Code debugging configuration (RocketChat#10586)
  [FIX] Integrations with room data not having the usernames filled in (RocketChat#10576)
  fixed problems with margin negative (RocketChat#10558)
  Add some information regarding Zapier and Bots to the integrations page (RocketChat#10574)
  Added target="_blank" to homepage and support link. (RocketChat#10575)
  [FIX] Stop Firefox announcement overflowing viewport (RocketChat#10503)
  [FIX] Wordpress oAuth authentication wasn't behaving correctly (RocketChat#10550)
  Fix inconsistent response of settings.oauth endpoint (RocketChat#10553)
  Regression: Remove added mentions on quote/reply (RocketChat#10571)
  Fix the attachments and fields incorrectly failing on validation (RocketChat#10573)
  Deps update (RocketChat#10549)
  ...
@kaiiiiiiiii kaiiiiiiiii deleted the fix_missing_administration_menu branch September 17, 2018 20:15
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.

integrations unreachable in Admin Menu
2 participants