mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Forced Guest access for client URLs
Several fixes for Guest access in the web-client git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2179 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -84,8 +84,6 @@ import org.alfresco.web.ui.repo.component.UISearchCustomProperties;
|
||||
*/
|
||||
public class AdvancedSearchBean
|
||||
{
|
||||
private static final String OUTCOME_BROWSE = "browse";
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
*/
|
||||
@@ -1336,12 +1334,11 @@ public class AdvancedSearchBean
|
||||
Application.getGlossaryFolderName(fc) + "/" +
|
||||
Application.getSavedSearchesFolderName(fc);
|
||||
|
||||
NodeRef rootNodeRef = this.nodeService.getRootNode(Repository.getStoreRef());
|
||||
List<NodeRef> results = null;
|
||||
try
|
||||
{
|
||||
results = searchService.selectNodes(
|
||||
rootNodeRef,
|
||||
nodeService.getRootNode(Repository.getStoreRef()),
|
||||
xpath,
|
||||
null,
|
||||
namespaceService,
|
||||
@@ -1461,6 +1458,8 @@ public class AdvancedSearchBean
|
||||
private static final String MSG_ERROR_RESTORE_SEARCH = "error_restore_search";
|
||||
private static final String MSG_SELECT_SAVED_SEARCH = "select_saved_search";
|
||||
|
||||
private static final String OUTCOME_BROWSE = "browse";
|
||||
|
||||
private static final String PANEL_CUSTOM = "custom-panel";
|
||||
private static final String PANEL_ATTRS = "attrs-panel";
|
||||
private static final String PANEL_CATEGORIES = "categories-panel";
|
||||
|
@@ -288,6 +288,7 @@ public abstract class UserMembersBean
|
||||
if (permission.getAccessStatus() == AccessStatus.ALLOWED &&
|
||||
(permission.getAuthorityType() == AuthorityType.USER ||
|
||||
permission.getAuthorityType() == AuthorityType.GROUP ||
|
||||
permission.getAuthorityType() == AuthorityType.GUEST ||
|
||||
permission.getAuthorityType() == AuthorityType.EVERYONE))
|
||||
{
|
||||
String authority = permission.getAuthority();
|
||||
|
@@ -457,7 +457,7 @@ public abstract class InviteUsersWizard extends AbstractWizardBean
|
||||
|
||||
// build a display label showing the user and their role for the space
|
||||
AuthorityType authType = AuthorityType.getAuthorityType(authority);
|
||||
if (authType.equals(AuthorityType.USER))
|
||||
if (authType.equals(AuthorityType.USER) || authType.equals(AuthorityType.GUEST))
|
||||
{
|
||||
if (this.personService.personExists(authority) == true)
|
||||
{
|
||||
|
Reference in New Issue
Block a user