Problems with AdminUser

I’ve developed an API for apps, and when I try to insert a document into the database, I get the following message in the console:
{
“ocs”: {
“meta”: {
“status”: “failure”,
“statuscode”: 403,
“message”: “Logged in user must be an admin”
},
“data”:
}
}
Only can make it from Admin group.
How can I allow another group to insert the data?
Thank you.

You’re going to have to provide more context. :wink:

Though maybe a missing #[NoAdminRequired]?

Refs:

1 Like

Perfect. Thank you so much !!!