ALFCOM-2981 Cannot find moderated site if I am a 'non-owner' using search field

- Moderated sites now have CONSUMER role for everyone.
 - Note that I havn't fixed the permissions of existing Moderates Sites,  This will only work for new and updated sites.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14793 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Mark Rogers
2009-06-18 16:13:08 +00:00
parent e4efa5265c
commit 31c439521f
3 changed files with 154 additions and 22 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2005-2007 Alfresco Software Limited.
* Copyright (C) 2005-2009 Alfresco Software Limited.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -58,6 +58,14 @@ public class QueryParameterDefImpl implements QueryParameterDefinition
private String defaultValue;
/**
* QueryParameterDefImpl
*
* @param qName
* @param propertyDefinition
* @param hasDefaultValue
* @param defaultValue
*/
public QueryParameterDefImpl(QName qName, PropertyDefinition propertyDefinition, boolean hasDefaultValue, String defaultValue)
{
this(qName, hasDefaultValue, defaultValue);
@@ -65,6 +73,12 @@ public class QueryParameterDefImpl implements QueryParameterDefinition
this.dataTypeDefintion = propertyDefinition.getDataType();
}
/**
*
* @param qName
* @param hasDefaultValue
* @param defaultValue
*/
private QueryParameterDefImpl(QName qName, boolean hasDefaultValue, String defaultValue)
{
super();
@@ -73,6 +87,13 @@ public class QueryParameterDefImpl implements QueryParameterDefinition
this.defaultValue = defaultValue;
}
/**
*
* @param qName
* @param dataTypeDefintion
* @param hasDefaultValue
* @param defaultValue
*/
public QueryParameterDefImpl(QName qName, DataTypeDefinition dataTypeDefintion, boolean hasDefaultValue, String defaultValue)
{
this(qName, hasDefaultValue, defaultValue);