diff options
author | Justin Clark-Casey (justincc) | 2011-10-18 22:51:40 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-10-18 22:51:40 +0100 |
commit | c85a780583cb36bac95f69c5d704f60a758d56bb (patch) | |
tree | 9ccd6c377ca205125020a9708038b32985ccdd13 /OpenSim/Services | |
parent | Temporarily put in log lines to record time taken to set terrain in OdeScene. (diff) | |
download | opensim-SC_OLD-c85a780583cb36bac95f69c5d704f60a758d56bb.zip opensim-SC_OLD-c85a780583cb36bac95f69c5d704f60a758d56bb.tar.gz opensim-SC_OLD-c85a780583cb36bac95f69c5d704f60a758d56bb.tar.bz2 opensim-SC_OLD-c85a780583cb36bac95f69c5d704f60a758d56bb.tar.xz |
Provide an option to allow remote calls to the CreateUser method on the UserAccountService
Default is false, as before.
Enabling AllowCreateUser in [UserAccountService] for ROBUST allows avatars to be created via an http call, with viewer 2 appropriate bits and pieces.
Only Ruths can be created at present.
Please don't rely on the config since at some point CreateUser will be moved to a separate co-ordinating service.
Diffstat (limited to 'OpenSim/Services')
-rw-r--r-- | OpenSim/Services/UserAccountService/UserAccountService.cs | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/OpenSim/Services/UserAccountService/UserAccountService.cs b/OpenSim/Services/UserAccountService/UserAccountService.cs index 9425816..4a29690 100644 --- a/OpenSim/Services/UserAccountService/UserAccountService.cs +++ b/OpenSim/Services/UserAccountService/UserAccountService.cs | |||
@@ -505,8 +505,10 @@ namespace OpenSim.Services.UserAccountService | |||
505 | firstName, lastName); | 505 | firstName, lastName); |
506 | } | 506 | } |
507 | else | 507 | else |
508 | { | ||
508 | m_log.WarnFormat("[USER ACCOUNT SERVICE]: Unable to retrieve home region for account {0} {1}.", | 509 | m_log.WarnFormat("[USER ACCOUNT SERVICE]: Unable to retrieve home region for account {0} {1}.", |
509 | firstName, lastName); | 510 | firstName, lastName); |
511 | } | ||
510 | 512 | ||
511 | if (m_InventoryService != null) | 513 | if (m_InventoryService != null) |
512 | { | 514 | { |
@@ -516,13 +518,19 @@ namespace OpenSim.Services.UserAccountService | |||
516 | m_log.WarnFormat("[USER ACCOUNT SERVICE]: Unable to create inventory for account {0} {1}.", | 518 | m_log.WarnFormat("[USER ACCOUNT SERVICE]: Unable to create inventory for account {0} {1}.", |
517 | firstName, lastName); | 519 | firstName, lastName); |
518 | } | 520 | } |
519 | else if (m_CreateDefaultAvatarEntries) | 521 | else |
520 | { | 522 | { |
521 | CreateDefaultAppearanceEntries(account.PrincipalID); | 523 | m_log.DebugFormat( |
524 | "[USER ACCOUNT SERVICE]; Created user inventory for {0} {1}", firstName, lastName); | ||
522 | } | 525 | } |
526 | |||
527 | if (m_CreateDefaultAvatarEntries) | ||
528 | CreateDefaultAppearanceEntries(account.PrincipalID); | ||
523 | } | 529 | } |
524 | 530 | ||
525 | m_log.InfoFormat("[USER ACCOUNT SERVICE]: Account {0} {1} created successfully", firstName, lastName); | 531 | m_log.InfoFormat( |
532 | "[USER ACCOUNT SERVICE]: Account {0} {1} {2} created successfully", | ||
533 | firstName, lastName, account.PrincipalID); | ||
526 | } | 534 | } |
527 | else | 535 | else |
528 | { | 536 | { |