Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
While there is currently validation of the token to the channel, the specific endpoint used for invitations requires the 'admin' scope for the owner of the token, without such the lack of error error (#2627054: Notice: Undefined index: error in Drupal\slack_invite\Form\SlackInviteForm->submitForm()) will occur.
Will look into a patch this evening.
Comment | File | Size | Author |
---|---|---|---|
#3 | admin_scope-2627060-3.patch | 911 bytes | Deciphered |
#3 | interdiff.txt | 828 bytes | Deciphered |
Comments
Comment #2
Deciphered CreditAttribution: Deciphered commentedComment #3
Deciphered CreditAttribution: Deciphered as a volunteer commentedFixed issue with original patch.
Comment #5
BTMash CreditAttribution: BTMash as a volunteer commentedI liked your patch and how you found the admin scope and committed your patch. I made some additional changes on top of it so your setErrorByName() would now throw an exception and getMessage() instead of the hardcoded message.