Sojan Jose
58e78621ba
chore: Custom Roles to manage permissions [ UI ] ( #9865 )
...
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 <pranavrajs@gmail.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: iamsivin <iamsivin@gmail.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-09-17 11:40:11 -07:00
Pranav
77b718c22c
fix: Remove user.permissions, resolve it from accounts ( #9990 )
...
Remove the `user.permissions` field and resolve the permissions directly
from the accounts array in the user. This change ensures that the cache
or previous values from the last active account don't affect the
permissions.
In this PR:
- Remove user.permissions usage, replace it with getUserPermissions
method.
- Remove json.permissions from user.json.jbuilder
2024-08-21 11:36:26 +05:30
Sojan Jose
46621b0983
chore: Add permissions to auth data ( #9695 )
...
This API change sets the foundation for an upcoming frontend update, transitioning from a role-based model to a permission-based model. This new approach will determine eligibility for various actions and UI elements based on specific permissions rather than roles, enhancing flexibility and security in user access management.
2024-06-28 12:52:48 -07:00
Pranav Raj S
2dfe38ae4d
chore: Cleanup feature flags ( #6096 )
...
- Add more feature flags for CRM, auto_resolution, and reports
- Add a SuperAdmin link in the sidebar if the user is a super-admin
- SuperAdmin could view all the features on an account irrespective of whether the feature is enabled.
2022-12-19 22:38:30 +05:30
Pranav Raj S
e0cebfaa1a
chore: Allow super admin to suspend an account ( #5174 )
2022-08-03 11:40:03 +05:30
Pranav Raj S
2591a04c0b
chore: Remove message_signature_enabled from users ( #3982 )
2022-02-15 12:10:53 +05:30
Tejaswini Chile
e99ea0b582
feat: Email signature API support ( #3874 )
2022-02-02 19:37:33 +05:30
Sojan Jose
cebd34053b
chore: Use availability in dashboard presence toggle ( #3212 )
2021-10-15 00:30:48 +05:30
Sojan Jose
c54aae21ff
chore: Move agent availability to Account level ( #3074 )
...
- Move agent availability to the account level
2021-10-07 13:21:46 +05:30
Sojan Jose
ad83d1bb71
feat: Platform API improvements ( #2900 )
...
- Platform APIs to add and update custom attributes to users
- Platform APIs to delete accounts
- Platform APIs to delete users
2021-09-02 18:29:45 +05:30
Pranav Raj S
d4c2a78db6
chore: Add Chatwoot SDK to Chatwoot Dashboard ( #1726 )
...
Add Chatwoot SDK to Chatwoot Dashboard
2021-02-08 16:38:35 +05:30
Pranav Raj S
160a6fc6cf
feat: Save UI state in the database ( #1635 )
...
feat: Save UI state in the database
2021-01-10 19:25:33 +05:30
Pranav Raj S
2b1d445003
feat: Use display_name instead of name of the agent ( #1097 )
...
* feat: Use display_name instead of name of the agent
2020-07-27 22:19:26 +05:30
Sojan Jose
d800b55ac6
Chore: Add display name to the user ( #1067 )
...
* Chore: Adding browser info to web widget triggered event
fixes : #970
* Chore: Rename nickname to display name
references: #972
* Chore: Change nickname in code
* chore: fix errors
* Chore: update nginx config
fixes : #1057
* Chore: Fix specs
2020-07-20 18:28:14 +05:30
Sojan Jose
c98907db49
Feature: Availability Statuses ( #874 )
...
Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com >
2020-07-04 11:42:47 +05:30
Sojan Jose
dafabac796
Chore: Minor bugfixes and housekeeping tasks ( #896 )
2020-06-02 23:50:39 +05:30
Sojan Jose
8c52a3a953
Chore: Remove duplication of user JBuilder ( #911 )
...
* Chore: Reduce duplication of user JBuilder
2020-05-31 23:10:20 +05:30