PerihanKamel
5 years agoContributor
How can we make calls as admin in javascript?
Hello everyone,
Question:
Some APIs are called using FreeMarker by restadmin or restbuilder using .admin(true) so how can we achieve the same functionality using javascript?
Background:
We want to create message using javascript for saving user comments to a forum. However, the user doesn't usually have the permission to add message to the forum.
Thanks in advance,
Perihan Kamel