Rocket.Chat.ReactNative/app/lib
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
..
database [CHORE] Build official apps on CI (#2701) 2020-12-14 13:20:32 -03:00
encryption [NEW] Encrypted Discussions (#2813) 2021-01-20 14:34:01 -03:00
methods [CHORE] Add permissions to Redux (#2914) 2021-02-25 13:41:44 -03:00
Icons.js Switch to react-navigation (#687) 2019-03-12 13:23:06 -03:00
Navigation.js [CHORE] Update react-navigation to v5 (#2154) 2020-06-15 11:00:46 -03:00
ShareNavigation.js [CHORE] Update react-navigation to v5 (#2154) 2020-06-15 11:00:46 -03:00
appStateMiddleware.js [NEW] Passcode and biometric unlock (#2059) 2020-05-08 14:04:37 -03:00
createStore.js [NEW] Passcode and biometric unlock (#2059) 2020-05-08 14:04:37 -03:00
rocketchat.js [CHORE] Add permissions to Redux (#2914) 2021-02-25 13:41:44 -03:00
selection.json [NEW] Channel actions (#2644) 2020-11-30 17:00:31 -03:00
userPreferences.js [CHORE] Remove some migrations (#2792) 2021-01-14 14:06:38 -03:00
utils.js [NEW] Image Viewer (#1479) 2019-12-18 18:13:11 -03:00