Getting Member role event if I log in with admin account

Hey @prastoin and team, Even if I'm an Admin, I'm getting Member when I log in to the admin workspace when I log below: const currentWorkspace = useRecoilValue(currentWorkspaceState); const currentUser = useRecoilValue(currentUserState);
console.log('Current workspace:', currentWorkspace?.defaultRole?.label); console.log('Current user:', currentUser);
No description
No description
No description
No description
No description
7 Replies
Rishi S
Rishi SOP2w ago
Event getting "canAccessFullAdminPanel": true in both Member and Admin account.
Rishi S
Rishi SOP2w ago
No description
Rishi S
Rishi SOP2w ago
Is there any other way from where I can get actual value whether the user is Member or Admin
Rishi S
Rishi SOP2w ago
The only difference I see is admin account has this array of permissions.
No description
Prastoin
Prastoin2w ago
Hey @Rishi S what twenty version are you using ?
Rishi S
Rishi SOP2w ago
0.51
Prastoin
Prastoin2w ago
Hey@Weiko could you please give this an eye, will attempt to reproduce on cloud tomorrow

Did you find this page helpful?