|
Started PUT "/usergroups/2-Group1" for 10.1.0.6 at 2015-02-20 21:00:26 +0000
|
|
Processing by UsergroupsController#update as HTML
|
|
Parameters: {"utf8"=>"?", "authenticity_token"=>"____", "usergroup"=>{"name"=>"Group1", "user_ids"=>["", ""], "admin"=>"1", "role_ids"=>[""], "external_usergroups_attributes"=>{"0"=>{"_destroy"=>"false", "name"=>"group1", "auth_source_id"=>"3", "id"=>"1"}, "new_external_usergroups"=>{"_destroy"=>"false", "name"=>"", "auth_source_id"=>"3"}}}, "id"=>"2-Group1"}
|
|
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 3]]
|
|
Setting current user thread-local variable to admin
|
|
AuthSource Load (0.3ms) SELECT "auth_sources".* FROM "auth_sources" WHERE "auth_sources"."id" = 1 LIMIT 1
|
|
Usergroup Load (0.2ms) SELECT "usergroups".* FROM "usergroups" WHERE "usergroups"."name" = '2-Group1' ORDER BY usergroups.name LIMIT 1
|
|
Usergroup Load (0.1ms) SELECT "usergroups".* FROM "usergroups" WHERE "usergroups"."id" = $1 ORDER BY usergroups.name LIMIT 1 [["id", "2-Group1"]]
|
|
(0.1ms) BEGIN
|
|
User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "usergroup_members" ON "users"."id" = "usergroup_members"."member_id" WHERE "usergroup_members"."usergroup_id" = 2 AND "usergroup_members"."member_type" = 'User' ORDER BY firstname
|
|
Role Load (0.3ms) SELECT "roles".* FROM "roles" INNER JOIN "user_roles" ON "roles"."id" = "user_roles"."role_id" WHERE "user_roles"."owner_id" = 2 AND "user_roles"."owner_type" = 'Usergroup'
|
|
ExternalUsergroup Load (0.2ms) SELECT "external_usergroups".* FROM "external_usergroups" WHERE "external_usergroups"."usergroup_id" = 2 AND "external_usergroups"."id" IN (1)
|
|
Usergroup Exists (0.2ms) SELECT 1 AS one FROM "usergroups" WHERE ("usergroups"."name" = 'Group1' AND "usergroups"."id" != 2) LIMIT 1
|
|
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."login" = 'Group1' ORDER BY firstname LIMIT 1
|
|
(0.1ms) COMMIT
|
|
Redirected to https://foreman-host/usergroups
|
|
Completed 302 Found in 20.6ms (ActiveRecord: 2.1ms)
|
|
Started GET "/usergroups" for 10.1.0.6 at 2015-02-20 21:00:26 +0000
|
|
Processing by UsergroupsController#index as HTML
|
|
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 3]]
|
|
Setting current user thread-local variable to admin
|
|
AuthSource Load (0.2ms) SELECT "auth_sources".* FROM "auth_sources" WHERE "auth_sources"."id" = 1 LIMIT 1
|
|
Usergroup Load (0.2ms) SELECT "usergroups".* FROM "usergroups" ORDER BY usergroups.name LIMIT 1
|
|
Setting Load (0.3ms) SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'entries_per_page' ORDER BY name LIMIT 1
|
|
Usergroup Load (0.2ms) SELECT "usergroups".* FROM "usergroups" ORDER BY usergroups.name LIMIT 20 OFFSET 0
|
|
AuthSourceHidden Load (0.2ms) SELECT "auth_sources".* FROM "auth_sources" WHERE "auth_sources"."type" IN ('AuthSourceHidden')
|
|
User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "usergroup_members" ON "users"."id" = "usergroup_members"."member_id" WHERE "usergroup_members"."usergroup_id" = 2 AND "usergroup_members"."member_type" = 'User' AND (users.auth_source_id <> 2) ORDER BY firstname
|
|
Usergroup Load (0.3ms) SELECT "usergroups".* FROM "usergroups" INNER JOIN "usergroup_members" ON "usergroups"."id" = "usergroup_members"."member_id" WHERE "usergroup_members"."usergroup_id" = 2 AND "usergroup_members"."member_type" = 'Usergroup' ORDER BY usergroups.name
|
|
Rendered usergroups/index.html.erb within layouts/application (9.3ms)
|
|
Bookmark Load (0.3ms) SELECT "bookmarks".* FROM "bookmarks" WHERE (((bookmarks.public = 't') OR (bookmarks.owner_id = 3 AND bookmarks.owner_type = 'User'))) AND (controller = 'usergroups') ORDER BY name
|
|
Rendered common/_searchbar.html.erb (2.1ms)
|
|
Setting Load (0.2ms) SELECT "settings".* FROM "settings" WHERE "settings"."name" = 'use_gravatar' ORDER BY name LIMIT 1
|
|
Rendered home/_user_dropdown.html.erb (5.6ms)
|
|
Read fragment views/tabs_and_title_records-3 0.1ms
|
|
Rendered home/_org_switcher.html.erb (0.0ms)
|
|
Rendered home/_submenu.html.erb (2.0ms)
|
|
Rendered home/_submenu.html.erb (2.3ms)
|
|
Rendered home/_submenu.html.erb (1.9ms)
|
|
Rendered home/_submenu.html.erb (1.9ms)
|
|
Rendered home/_submenu.html.erb (2.1ms)
|
|
Write fragment views/tabs_and_title_records-3 0.7ms
|
|
Rendered home/_topbar.html.erb (19.0ms)
|
|
Rendered layouts/base.html.erb (20.0ms)
|
|
Completed 200 OK in 44.0ms (Views: 31.3ms | ActiveRecord: 2.4ms)
|