Env Variables and Health Status are not clickable.

Docker self hosted . Since I updated from .43 to .44, on admin panel these two tabs turned gray and can't be clicked. And workspace version not showing under general tab. Then I updated from .44 to .50. It's not resolved. In the database, workspace version is 0.50.5 now. Is this normal?
No description
4 Replies
thomast
thomast2w ago
@marie I think this is related to permissions?
marie
marie2w ago
@thomast I don't think so, access to admin panel isn't determined by permissions but by properties on user entity. cf SettingsAdminContent.ts :
const tabs = [
{
id: SETTINGS_ADMIN_TABS.GENERAL,
title: t`General`,
Icon: IconSettings2,
disabled: !canAccessFullAdminPanel && !canImpersonate,
},
{
id: SETTINGS_ADMIN_TABS.ENV_VARIABLES,
title: t`Env Variables`,
Icon: IconVariable,
disabled: !canAccessFullAdminPanel,
},
{
id: SETTINGS_ADMIN_TABS.HEALTH_STATUS,
title: t`Health Status`,
Icon: IconHeart,
disabled: !canAccessFullAdminPanel,
},
];
const tabs = [
{
id: SETTINGS_ADMIN_TABS.GENERAL,
title: t`General`,
Icon: IconSettings2,
disabled: !canAccessFullAdminPanel && !canImpersonate,
},
{
id: SETTINGS_ADMIN_TABS.ENV_VARIABLES,
title: t`Env Variables`,
Icon: IconVariable,
disabled: !canAccessFullAdminPanel,
},
{
id: SETTINGS_ADMIN_TABS.HEALTH_STATUS,
title: t`Health Status`,
Icon: IconHeart,
disabled: !canAccessFullAdminPanel,
},
];
I think that disabled option for the tabs was recently introduced. So @soundworker2003 I think you need to update the canAccessFullAdminPanel value in your user table on your user's row. About the workspace version I don't know, maybe it's something we just removed ? @Weiko does it ring a bell ?
Weiko
Weiko2w ago
Exactly, the GENERAL tab is still accessible for users with canImpersonate but with less details. The "version" is only displayed if you also have canAccessFullAdminPanel @soundworker2003
soundworker2003
soundworker2003OP2w ago
@marie @Weiko You are right. Thanks for your help. Everything is ok now. 😀

Did you find this page helpful?