vn-verdnaturachat/app/views/RoomInfoView
Gung Wah e98116587d
[CHORE] Add permissions to Redux (#2914)
* [FIX] Add permissions to Redux store

* add only permissions being used in the app

* add clear permissions reducer

* call RocketChat.hasPermission from reducer

* add server version comparison on getPermissions

* refactor hasPermission function

* refactor hasPermission function

* remove uncomment code

* use Q.experimentalSortBy()

* add coerce function

* Change Rocketchat.hasPermission

* Apply on isReadOnly

* Apply to RoomInfoEditView

* Apply to RoomInfoView and RoomInfoEditView

* canAutoTranslate

* Unnecessary clear permissions

* Revert getUpdatedSince

* Naming fix

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-02-25 13:41:44 -03:00
..
Channel.js [TESTS] Update and separate E2E tests (#2126) 2020-05-20 13:33:40 -03:00
CustomFields.js [NEW] Livechat (#2004) 2020-05-08 14:36:10 -03:00
Direct.js [NEW] Livechat (#2004) 2020-05-08 14:36:10 -03:00
Item.js [TESTS] Update and separate E2E tests (#2126) 2020-05-20 13:33:40 -03:00
Livechat.js [NEW] Omnichannel inquiry queue (#2352) 2020-07-31 15:22:30 -03:00
Timezone.js [NEW] Livechat (#2004) 2020-05-08 14:36:10 -03:00
index.js [CHORE] Add permissions to Redux (#2914) 2021-02-25 13:41:44 -03:00
styles.js [FIX] Big names overflow (#2072) 2020-05-08 14:09:36 -03:00