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

Here's a Slack "App Manifest" to make adding the user token scopes easier #89

Open
Efresia opened this issue Jun 3, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Efresia
Copy link

Efresia commented Jun 3, 2023

Thank you for this fantastic tool. Here's an "App Manifest" template can be pasted into the app manifest section of the slack UI, just change the name to match the name you used when you created the "app". The duplicate scopes are commented out so it works as-is. You can of course paste just a section as well.

display_information:
  name: slack_cleaner
oauth_config:
  scopes:
    user:
      # General channel and user detection
      - users:read
      - channels:read
      - groups:read
      - im:read
      - mpim:read
      # Deleting messages from public channels
      #- users:read
      #- channels:read
      - channels:history
      - chat:write
      # Deleting messages from private channels
      #- users:read
      #- groups:read
      - groups:history
      #- chat:write
      # Deleting messages from 1:1 IMs
      #- im:read
      - im:history
      #- users:read
      #- chat:write
      # Deleting messages from multi-person IMs
      #- mpim:read
      - mpim:history
      #- users:read
      #- chat:write
      # Deleting files
      - files:read
      #- users:read
      - files:write
settings:
  org_deploy_enabled: false
  socket_mode_enabled: false
  token_rotation_enabled: false
@Efresia Efresia added the enhancement New feature or request label Jun 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant