feat: add DCB User Service API - Authentication system with KEYCLOAK - Modular architecture with services for each feature
This commit is contained in:
parent
8c09d772cf
commit
dee63c7341
@ -76,16 +76,10 @@ export class MenuService {
|
|||||||
icon: 'lucideCreditCard',
|
icon: 'lucideCreditCard',
|
||||||
url: '/transactions',
|
url: '/transactions',
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
label: 'Marchands',
|
label: 'Gestions Marchant',
|
||||||
icon: 'lucideStore',
|
icon: 'lucideStore',
|
||||||
isCollapsed: true,
|
url: '/merchants'
|
||||||
children: [
|
|
||||||
{ label: 'Gestion des Marchands', url: '/merchants/list' },
|
|
||||||
{ label: 'Configuration API / Webhooks', url: '/merchants/config' },
|
|
||||||
{ label: 'Statistiques & Historique', url: '/merchants/stats' },
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Opérateurs',
|
label: 'Opérateurs',
|
||||||
|
|||||||
@ -25,12 +25,6 @@ export class PermissionsService {
|
|||||||
{
|
{
|
||||||
module: 'merchants',
|
module: 'merchants',
|
||||||
roles: ['admin', 'merchant', 'support'],
|
roles: ['admin', 'merchant', 'support'],
|
||||||
children: {
|
|
||||||
'list': ['admin'],
|
|
||||||
'details': ['admin', 'merchant', 'support'],
|
|
||||||
'config': ['admin', 'merchant'],
|
|
||||||
'stats': ['admin', 'merchant']
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
// Operators (Admin only)
|
// Operators (Admin only)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user