-
Notifications
You must be signed in to change notification settings - Fork 29
Add permission callback #541
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
Add permission callback #541
Conversation
Development
This adds a premission callback to Rest request.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can also sanitize the data before inserting e.g. the url, source, id at the very least
Sanitized chart data before saving.
@contactashish13 Can you check? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you also mention the data you have tested against for each field that is being sanitized?
@contactashish13 I've resolved all the current issues. I tested the import with two URLs,
Let me know if that's enough to reproduce or you need more info. :) |
This adds a permission callback to Rest request. @contactashish13