mirror of
https://github.com/chatwoot/chatwoot.git
synced 2026-06-13 21:01:16 +08:00
In admin settings, this Pr will add the UI for managing custom roles ( ref: https://github.com/chatwoot/chatwoot/pull/9995 ). It also handles the routing logic changes to accommodate fine-tuned permissions. --------- Co-authored-by: Pranav <[email protected]> Co-authored-by: Sivin Varghese <[email protected]> Co-authored-by: iamsivin <[email protected]> Co-authored-by: Muhsin Keloth <[email protected]>
10 lines
185 B
JavaScript
10 lines
185 B
JavaScript
import ApiClient from './ApiClient';
|
|
|
|
class CustomRole extends ApiClient {
|
|
constructor() {
|
|
super('custom_roles', { accountScoped: true });
|
|
}
|
|
}
|
|
|
|
export default new CustomRole();
|