Session permissions issue (#1975)

* refactor: 💡 session isCancelable to isAvailable

* refactor: 💡 check for target info for showing target details

* refactor: 💡 add fallback for session data from connect command

* refactor: 💡 remove extra divs

* refactor: 💡 remove await from peekRecord of a session

* test: 💍 add test for no read permission for sessions

* test: 💍 reset global qunit after test is done
This commit is contained in:
Cameron Perera authored and GitHub committed 2023-11-01 11:22:18 -05:00
1 parent 933e272764
commit f879bbb1ec
10 files changed
+126 -69

No files matched your search

+1 -1
View File
@@ -128,7 +128,7 @@ export default class SessionModel extends GeneratedSessionModel {
* @type {boolean}
*/
@computed('isActive', 'isPending')
get isCancelable() {
get isAvailable() {
return this.isActive || this.isPending;
}