MT fixes to provide initial support for tenant-specific guests

- explicit guest access is required, such as "guest@tenant1" (note: implicit/anonymous guest access can only login to the default domain)
- also fixes issue with "Show All" users, when logged in as a tenant admin

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7748 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jan Vonka
2008-01-03 15:06:07 +00:00
parent 9c86a9952d
commit 0027d6d0ad
2 changed files with 12 additions and 1 deletions

View File

@@ -652,7 +652,7 @@ public class NavigationBean
*/
public boolean getIsGuest()
{
return Application.getCurrentUser(FacesContext.getCurrentInstance()).getUserName().equals(PermissionService.GUEST_AUTHORITY);
return Repository.getIsGuest(FacesContext.getCurrentInstance());
}
/**