Skip to content

Commit

Permalink
🎨 Frontend: Data tab only visible in oSparc product (#5651)
Browse files Browse the repository at this point in the history
  • Loading branch information
odeimaiz authored Apr 9, 2024
1 parent 82be0e2 commit b19b9b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ qx.Class.define("osparc.dashboard.Dashboard", {
buildLayout: this.__createServiceBrowser
});
}
if (permissions.canDo("dashboard.data.read")) {
if (permissions.canDo("dashboard.data.read") && osparc.product.Utils.isProduct("osparc")) {
tabs.push({
id: "dataTabBtn",
label: this.tr("DATA"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,9 @@ qx.Class.define("osparc.data.Permissions", {
"study.slides.stop"
];
} else if (osparc.product.Utils.isProduct("s4llite")) {
// "services" and "data" tabs only for testers
// "services" tabs only for testers
fromUserToTester = [
"dashboard.services.read",
"dashboard.data.read"
"dashboard.services.read"
];
}
fromUserToTester.forEach(onlyTester => {
Expand Down

0 comments on commit b19b9b5

Please sign in to comment.