Repository navigation
feat(methods): add apps.managed.permissions.set method example - #398
Merged
Merged
Conversation
This was referenced Nov 18, 2026
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
zimeg
force-pushed
the
zimeg-feat-apps-managed-permissions-set-example
branch
from
November 18, 2026 06:18
68b6376 to
0e4c948
Compare
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
…in the readme Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
zimeg
marked this pull request as ready for review
November 20, 2026 10:10
cchensh
approved these changes
Nov 20, 2026
cchensh
left a comment
There was a problem hiding this comment.
LGTM. The call matches the released SDK (method, argument names and types), the structure matches the sibling examples, and CI is green.
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Member
Author
|
🌟 Thanks for the kind review @cchensh! Managed app permissions are a neat one to show off 🐍 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This pull request adds a method example for
apps.managed.permissions.setinmethods/src/apps/managed/permissions/apps_managed_permissions_set.py, and lists it inmethods/README.md.permissionsis the page's example,everyone, andapp_idis a placeholder.apps/managed/permissions/app scaffold. Itsapp_configurations:writescope belongs to app configuration tokens, which a manifest can't request (apps.manifest.validatereturnsillegal_user_scopes), so the manifest lists no scopes, likeblocks/.This is the only pull request in the
apps.managedstack of method examples, so it's based onmain. It's in the B7 app settings batch.apps.managed.permissions.set👈 this pull requestDependency
This depends on slackapi/python-slack-sdk#2052, which adds
apps.managed.permissions.settoslack_sdk. It shipped inslack_sdk3.48.0, whichmethods/pyproject.tomlnow pins.Testing
With slackapi/python-slack-sdk#2052 installed locally:
cd methods/src/apps/managed/permissions && slack install --environment local, thenexport SLACK_TOKEN=...with a token issued to a manager app.app_idto an app that manager app created, thenslack run apps_managed_permissions_set.pyand confirmok.Live run: a token that isn't issued to a manager app returns
manager_app_not_eligible. Each example was run live in a developer workspace with a localslack_sdkbuild that has every method from these stacks.🤖 Generated with Claude Code