Class | Chef::WebUIUser |
In: |
lib/chef/webui_user.rb
|
Parent: | Object |
DESIGN_DOCUMENT | = | { "version" => 3, "language" => "javascript", "views" => { "all" => { "map" => <<-EOJS function(doc) { if (doc.chef_type == "webui_user") { emit(doc.name, doc); } } EOJS |
admin | [RW] | |
couchdb | [RW] | |
couchdb_id | [R] | |
couchdb_rev | [R] | |
name | [RW] | |
openid | [RW] | |
password | [R] | |
salt | [R] | |
validated | [RW] |
return true if an admin user exists. this is pretty expensive (O(n)), should think of a better way (nuo)
List all the Chef::WebUIUser objects in the CouchDB. If inflate is set to true, you will get the full list of all registration objects. Otherwise, you‘ll just get the IDs