dblock / slack-gamebot

Ping pong, chess, pool and other games bot for Slack.
MIT License
129 stars 103 forks source link

Unable to promote an active user to captain as a Slack workspace owner/admin #223

Open dblandin opened 1 year ago

dblandin commented 1 year ago

Context

None of our currently configured captains current work at the company or have access to the company Slack organization. It's been a while since the integration was heavily used and there's renewed interest in playing more ping pong and tracking matches.

Without any active captains around in Slack, we're unable to promote other captains. Regardless of who's currently configured as a captain, a Slack Workspace Owner or Admin should always be able to promote or demote users to/from captain.

Question: Should Slack Workspace Owners or Admins have full settings access as well or is the ability to promote/demote to/from captain enough?


As a Slack Workspace Owner or Workspace Admin, I can promote any active user in Slack to captain, even if I myself am not a captain.

Expected

gamebot promote @dblandin

[Admin] promoted Devon Blandin to captain.

Actual

gamebot promote @dblandin

You're not a captain, sorry.
dblock commented 1 month ago

I've been working on a fork of Gamebot in https://github.com/dblock/slack-gamebot2 that supports separate leaderboards per channel and uses an upgraded version of the Slack platform with granular permission scopes. This bug is fixed in it. Install it from https://gamebot2.playplay.io/.