* [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> |
||
---|---|---|
.. | ||
actionsTypes.js | ||
activeUsers.js | ||
app.js | ||
connect.js | ||
crashReport.js | ||
createChannel.js | ||
createDiscussion.js | ||
customEmojis.js | ||
deepLinking.js | ||
encryption.js | ||
enterpriseModules.js | ||
inviteLinks.js | ||
login.js | ||
messages.js | ||
permissions.js | ||
room.js | ||
rooms.js | ||
selectedUsers.js | ||
server.js | ||
settings.js | ||
share.js | ||
sortPreferences.js | ||
usersTyping.js |