NIHVIVO-2343 A user should not be allowed as a proxy for his own profile.

This commit is contained in:
j2blake 2011-10-30 17:15:53 +00:00
parent b7ec17856e
commit a866b5daf4
4 changed files with 10 additions and 4 deletions

View file

@ -147,6 +147,7 @@ public class UserAccountsMyAccountPage extends UserAccountsPage {
body.put("proxies", buildOriginalProxyList());
}
body.put("formUrls", buildUrlsMap());
body.put("myAccountUri", userAccount.getUri());
// Could I do this without exposing this mechanism? But how to search
// for an associated profile in AJAX?