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

Bug #847: Add the auth driver column to oneuser list output

This commit is contained in:
Carlos Martín 2011-10-17 15:21:13 +02:00
parent d2e781cd27
commit 8d356a5841
2 changed files with 14 additions and 4 deletions

View File

@ -1,15 +1,20 @@
---
:ID:
:desc: ONE identifier for the Template
:desc: ONE identifier for the User
:size: 4
:NAME:
:desc: Name of the Template
:desc: Name of the User
:size: 15
:left: true
:GROUP:
:desc: Group of the Template
:desc: Group of the User
:size: 8
:left: true
:AUTH:
:desc: Auth driver of the User
:size: 8
:left: true
@ -21,4 +26,5 @@
- :ID
- :GROUP
- :NAME
- :AUTH
- :PASSWORD

View File

@ -190,11 +190,15 @@ class OneUserHelper < OpenNebulaHelper::OneHelper
helper.group_name(d, options)
end
column :AUTH, "Auth driver of the User", :left, :size=>8 do |d|
d["AUTH_DRIVER"]
end
column :PASSWORD, "Password of the User", :size=>50 do |d|
d['PASSWORD']
end
default :ID, :GROUP, :NAME, :PASSWORD
default :ID, :GROUP, :NAME, :AUTH, :PASSWORD
end
table