✨(backend) add user abilities for front
This allows, on a per user basis, the display of features. The main goal here is to allow Team admin or owner to see the management views. We also added the same for the two other features (mailboxes and contacts) This will be improved later if needed :)
This commit is contained in:
@@ -22,7 +22,13 @@ test.describe('Config', () => {
|
||||
['en-us', 'English'],
|
||||
['fr-fr', 'French'],
|
||||
],
|
||||
FEATURES: { TEAMS: true },
|
||||
FEATURES: {
|
||||
CONTACTS_CREATE: true,
|
||||
CONTACTS_DISPLAY: true,
|
||||
MAILBOXES_CREATE: true,
|
||||
TEAMS_CREATE: true,
|
||||
TEAMS: true,
|
||||
},
|
||||
RELEASE: 'NA',
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user