Skip to content

Commit

Permalink
Merge pull request #747 from DIRACGridBot/cherry-pick-2-1f2aef10-inte…
Browse files Browse the repository at this point in the history
…gration

[sweep:integration] feat: Add finer permissions model for Transformation System
  • Loading branch information
fstagni authored Aug 24, 2023
2 parents 737ed93 + 71b5e92 commit 4b8730a
Showing 1 changed file with 2 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -297,15 +297,14 @@ Ext.define("DIRAC.TransformationMonitor.classes.TransformationMonitor", {
var pagingToolbar = null;

var toolButtons = {
Protected: [
Visible: [
{
text: "Start",
handler: me.__oprTransformationAction,
arguments: ["start", ""],
properties: {
tooltip: "Click to start the selected transformation(s)",
},
property: "ProductionManagement",
},
{
text: "Stop",
Expand All @@ -314,7 +313,6 @@ Ext.define("DIRAC.TransformationMonitor.classes.TransformationMonitor", {
properties: {
tooltip: "Click to stop the selected transformation(s)",
},
property: "ProductionManagement",
},
{
text: "Flush",
Expand All @@ -323,7 +321,6 @@ Ext.define("DIRAC.TransformationMonitor.classes.TransformationMonitor", {
properties: {
tooltip: "Click to flush the selected transformation(s)",
},
property: "ProductionManagement",
},
{
text: "Complete",
Expand All @@ -332,7 +329,6 @@ Ext.define("DIRAC.TransformationMonitor.classes.TransformationMonitor", {
properties: {
tooltip: "Click to complete the selected transformation(s)",
},
property: "ProductionManagement",
},
{
text: "Clean",
Expand All @@ -341,7 +337,6 @@ Ext.define("DIRAC.TransformationMonitor.classes.TransformationMonitor", {
properties: {
tooltip: "Click to clean the selected transformation(s)",
},
property: "ProductionManagement",
},
],
};
Expand Down Expand Up @@ -640,15 +635,14 @@ Ext.define("DIRAC.TransformationMonitor.classes.TransformationMonitor", {
],
};
var actionSubMenu = {
Protected: [
Visible: [
{
text: "Start",
handler: me.__oprTransformationAction,
arguments: ["start", true],
properties: {
tooltip: "Click to start the selected transformations(s)",
},
property: "ProductionManagement",
},
{
text: "Stop",
Expand All @@ -657,15 +651,13 @@ Ext.define("DIRAC.TransformationMonitor.classes.TransformationMonitor", {
properties: {
tooltip: "Click to stop the selected transformations(s)",
},
property: "ProductionManagement",
},
{
text: "Extend",
handler: me.__extendTransformation,
properties: {
tooltip: "Click to extend the selected transformations(s)",
},
property: "ProductionManagement",
},
{
text: "Flush",
Expand All @@ -674,7 +666,6 @@ Ext.define("DIRAC.TransformationMonitor.classes.TransformationMonitor", {
properties: {
tooltip: "Click to flush the selected transformations(s)",
},
property: "ProductionManagement",
},
{
text: "Complete",
Expand All @@ -683,7 +674,6 @@ Ext.define("DIRAC.TransformationMonitor.classes.TransformationMonitor", {
properties: {
tooltip: "Click to complete the selected transformations(s)",
},
property: "ProductionManagement",
},
{
text: "Clean",
Expand All @@ -692,7 +682,6 @@ Ext.define("DIRAC.TransformationMonitor.classes.TransformationMonitor", {
properties: {
tooltip: "Click to clean the selected transformations(s)",
},
property: "ProductionManagement",
},
],
};
Expand Down

0 comments on commit 4b8730a

Please sign in to comment.