NIHVIVO-2690 Root user should not receive the "no profile" message.
This commit is contained in:
parent
cd099505a6
commit
1ffe229a30
5 changed files with 26 additions and 8 deletions
|
@ -38,6 +38,12 @@ public class UserAccountsDaoStub implements UserAccountsDao {
|
|||
return userAccountsByUri.get(uri);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isRootUser(UserAccount userAccount) {
|
||||
// TODO for now, no user is Root
|
||||
return false;
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
// Un-implemented methods
|
||||
// ----------------------------------------------------------------------
|
||||
|
@ -48,11 +54,6 @@ public class UserAccountsDaoStub implements UserAccountsDao {
|
|||
"UserAccountsDaoStub.getUserAccountByEmail() not implemented.");
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isRootUser(UserAccount userAccount) {
|
||||
throw new RuntimeException("UserAccountsDao.isRootUser() not implemented.");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String insertUserAccount(UserAccount userAccount) {
|
||||
throw new RuntimeException(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue