1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

feature #718: Changed column name for deploy 'd'->'Y'

This commit is contained in:
Ruben S. Montero 2011-08-30 16:23:40 +02:00
parent a724af2add
commit 85b2bc4127
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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