From 85b2bc4127fa385c79e24466d95f23b6d284b12f Mon Sep 17 00:00:00 2001 From: "Ruben S. Montero" Date: Tue, 30 Aug 2011 16:23:40 +0200 Subject: [PATCH] feature #718: Changed column name for deploy 'd'->'Y' --- src/cli/etc/oneacl.yaml | 4 ++-- src/cli/one_helper/oneacl_helper.rb | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/cli/etc/oneacl.yaml b/src/cli/etc/oneacl.yaml index 7aa5a34c0a..610077d77e 100644 --- a/src/cli/etc/oneacl.yaml +++ b/src/cli/etc/oneacl.yaml @@ -18,7 +18,7 @@ :size: 5 :right: true -:OPE_CDUMIPpTWd: +:OPE_CDUMIPpTWY: :desc: Operation to which the rule applies :size: 14 :right: true @@ -28,4 +28,4 @@ - :USER - :RES_VHNIUTG - :RID -- :OPE_CDUMIPpTWd +- :OPE_CDUMIPpTWY diff --git a/src/cli/one_helper/oneacl_helper.rb b/src/cli/one_helper/oneacl_helper.rb index 40e03192f0..dbb44276f4 100644 --- a/src/cli/one_helper/oneacl_helper.rb +++ b/src/cli/one_helper/oneacl_helper.rb @@ -92,7 +92,7 @@ private when "CHOWN" mask[8] = "W" when "DEPLOY" - mask[9] = "d" + mask[9] = "Y" end } @@ -122,12 +122,12 @@ private d['STRING'].split(" ")[1].split("/")[1] end - column :OPE_CDUMIPpTWd, + column :OPE_CDUMIPpTWY, "Operation to which the rule applies", :size =>14 do |d| OneAclHelper::right_mask d['STRING'].split(" ")[2] end - default :ID, :USER, :RES_VHNIUTG, :RID, :OPE_CDUMIPpTWd + default :ID, :USER, :RES_VHNIUTG, :RID, :OPE_CDUMIPpTWY end table