Changeset 399 for trunk/grails-app/services
- Timestamp:
- Feb 22, 2010, 9:46:31 PM (15 years ago)
- Location:
- trunk/grails-app/services
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/services/CreateBulkDataService.groovy
r394 r399 114 114 lastName: lastName, 115 115 pass: passClearText, 116 password: passwordEncoded, 117 email: "bulkTest@example.com") 116 password: passwordEncoded) 118 117 saveAndTest(personInstance) 119 118 personInstance.addToAuthorities(authority2) -
trunk/grails-app/services/CreateDataService.groovy
r397 r399 237 237 assign login authorities or change the details of this person.''', 238 238 pass:passClearText, 239 password:passwordEncoded, 240 email:"system@example.com") 239 password:passwordEncoded) 241 240 saveAndTest(personInstance) 242 241 } … … 255 254 DO update the password and other details but keep the login name as 'admin'. ''', 256 255 pass:passClearText, 257 password:passwordEncoded, 258 email:"admin@example.com") 256 password:passwordEncoded) 259 257 saveAndTest(personInstance) 260 258 personInstance.addToAuthorities(Authority.get(1)) … … 278 276 lastName:"Manager", 279 277 pass:passClearText, 280 password:passwordEncoded, 281 email:"manager@example.com") 278 password:passwordEncoded) 282 279 saveAndTest(personInstance) 283 280 personInstance.addToAuthorities(Authority.get(2)) … … 290 287 lastName:"User", 291 288 pass:passClearText, 292 password:passwordEncoded, 293 email:"user@example.com") 289 password:passwordEncoded) 294 290 saveAndTest(personInstance) 295 291 personInstance.addToAuthorities(Authority.get(3)) … … 304 300 lastName:"SuperSparky", 305 301 pass:passClearText, 306 password:passwordEncoded, 307 email:"user@example.com") 302 password:passwordEncoded) 308 303 saveAndTest(personInstance) 309 304 personInstance.addToAuthorities(Authority.get(3)) … … 318 313 lastName:"SuperFitter", 319 314 pass:passClearText, 320 password:passwordEncoded, 321 email:"user@example.com") 315 password:passwordEncoded) 322 316 saveAndTest(personInstance) 323 317 personInstance.addToAuthorities(Authority.get(3)) … … 332 326 lastName:"Mann", 333 327 pass:passClearText, 334 password:passwordEncoded, 335 email:"user@example.com") 328 password:passwordEncoded) 336 329 saveAndTest(personInstance) 337 330 personInstance.addToAuthorities(Authority.get(3)) … … 344 337 lastName:"Manager", 345 338 pass:passClearText, 346 password:passwordEncoded, 347 email:"user@example.com") 339 password:passwordEncoded) 348 340 saveAndTest(personInstance) 349 341 personInstance.addToAuthorities(Authority.get(3))
Note: See TracChangeset
for help on using the changeset viewer.