Skip to content

Commit b63b88b

Browse files
authored
Revert "Allow analytics access for users with undefined privileges" (#1844)
Reverts #1839 Fixes OPS-3412.
1 parent a84e871 commit b63b88b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-ui/src/app/lib/authentication-session.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const authenticationSession = {
5252
},
5353

5454
getUserHasAnalyticsPrivileges(): boolean {
55-
return this.getCurrentUser()?.hasAnalyticsPrivileges ?? true;
55+
return this.getCurrentUser()?.hasAnalyticsPrivileges ?? false;
5656
},
5757

5858
getUserOrganizationRole() {

0 commit comments

Comments
 (0)