I have an issue with Strapi.
I want to enable an autorization for a handler in my public role (for an API request).
But the handlers that i want to check are not displayed on the menu.
Here is the routes.js file.
{
"routes": [
{
"method": "POST",
"path": "/services/audit",
"handler": "service.audit",
"config": {
"policies": []
}
},
{
"method": "GET",
"path": "/services/audit",
"handler": "service.audit",
"config": {
"policies": []
}
},
{
"method": "GET",
"path": "/services/dehiba/:departementId",
"handler": "service.dehiba",
"config": {
"policies": []
}
},
{
"method": "GET",
"path": "/services/hbpc/calendar",
"handler": "hbpc.syncCalendar",
"config": {
"policies": []
}
},
{
"method": "GET",
"path": "/services/hbpc/rank",
"handler": "hbpc.syncRank",
"config": {
"policies": []
}
},
{
"method": "GET",
"path": "/services/images",
"handler": "service.parseImage",
"config": {
"policies": []
}
}
]
}
And here the handlers who are displayed on my menu
Click here to see the handlers
Do you know how to edit the handlers to display in the Roles and permissions plugin please ? Thanks you