File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
plugins/workbench-resources/src/components Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 57
57
function updateExcludedApps (): void {
58
58
const me = getCurrentAccount ()
59
59
60
- if (me .role === AccountRole .ReadOnlyGuest ) {
60
+ if (me .role === AccountRole .ReadOnlyGuest || me . role === AccountRole . Guest ) {
61
61
excludedApps = getMetadata (workbench .metadata .ExcludedApplicationsForAnonymous ) ?? []
62
62
} else {
63
63
excludedApps = []
Original file line number Diff line number Diff line change 766
766
function isExcludedApp (alias : string ): boolean {
767
767
const me = getCurrentAccount ()
768
768
769
- if (me .role === AccountRole .ReadOnlyGuest ) {
769
+ if (me .role === AccountRole .ReadOnlyGuest || me . role === AccountRole . Guest ) {
770
770
return (getMetadata (workbench .metadata .ExcludedApplicationsForAnonymous ) ?? []).includes (alias )
771
771
} else {
772
772
return false
You can’t perform that action at this time.
0 commit comments