ETASCOM CRM V3 - Documentation API
Storybook
GitHub
Preparing search index...
app/api/user/modules/route
GET
Function GET
GET
()
:
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
modules
:
{
dashboard
:
boolean
;
sales
:
boolean
;
production
:
boolean
;
stock
:
boolean
;
purchases
:
boolean
;
materials
:
boolean
;
logistics
:
boolean
;
communication
:
boolean
;
hr
:
boolean
;
accounting
:
boolean
;
settings
:
boolean
;
}
;
role
:
{
id
:
string
;
name
:
string
;
slug
:
string
}
;
permissions
:
string
[]
;
}
,
>
,
>
GET /api/user/modules Récupère les modules accessibles par l'utilisateur connecté
Returns
Promise
<
|
NextResponse
<
{
error
:
string
}
>
|
NextResponse
<
{
modules
:
{
dashboard
:
boolean
;
sales
:
boolean
;
production
:
boolean
;
stock
:
boolean
;
purchases
:
boolean
;
materials
:
boolean
;
logistics
:
boolean
;
communication
:
boolean
;
hr
:
boolean
;
accounting
:
boolean
;
settings
:
boolean
;
}
;
role
:
{
id
:
string
;
name
:
string
;
slug
:
string
}
;
permissions
:
string
[]
;
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Storybook
GitHub
ETASCOM CRM V3 - Documentation API
Loading...
GET /api/user/modules Récupère les modules accessibles par l'utilisateur connecté