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

Support Request: is 'Send SMS' permission for Anonymous required or have we hit an issue? #16

Open
petednz opened this issue Sep 21, 2020 · 2 comments

Comments

@petednz
Copy link

petednz commented Sep 21, 2020

We hit an error "You do not have the 'send SMS' permission"
It seems when the callback URL is triggered by twilio, the user is anonymous which does not have the Send SMS permission due to which the callback ends up with an error.
Do we need to grant anonymous the Send SMS permission?
This isn't mentioned in any documentation

@michaelmcandrew
Copy link
Collaborator

michaelmcandrew commented Sep 21, 2020

Hey there,

Haven't used this extension in a while but this does ring a bell and I think you might be right.

IIRC we wrote this before Send SMS was a permission and so didn't encounter the error at that time. We then encountered it later but didn't fix it.

I suspect that this will require a hack/patch to core to add an 'ignore permissions check' or similar for when Send SMS is triggered via the call back.

Also a quick plug for https://github.com/3sd/civicrm-chatbot which covers a similar use case in case that is useful (might not be) and with the proviso that that extension is probably even less used that this one with all that that entails.

@petednz
Copy link
Author

petednz commented Sep 22, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants