tasks/cbac.rake in cbac-0.5.1 vs tasks/cbac.rake in cbac-0.5.2

- old
+ new

@@ -87,10 +87,10 @@ login_permission = Cbac::Permission.new(:context_role => 'everybody', :privilege_set_id => login_privilege_set.id) throw "Failed to save Login Permission" unless login_permission.save end puts "Creating Generic Role: administrators" - admin_role = Cbac::GenericRole.new(:name => "administrators", :remarks => "System administrators - may edit CBAC permissions") + admin_role = Cbac::GenericRole.new(:name => "administrator", :remarks => "System administrators - may edit CBAC permissions") throw "Failed to save new Generic Role" unless admin_role.save puts "Creating Administrator Membership for user #{adminuser}" membership = Cbac::Membership.new(:user_id => adminuser, :generic_role_id => admin_role.id) throw "Failed to save new Administrator Membership" unless membership.save