BugFix für Rechteprüfung für Preview von PublicPersonalProfile

git-svn-id: https://svn.libreccm.org/ccm/trunk@1378 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2011-12-19 17:35:03 +00:00
parent 1ab1853eef
commit b477086130
1 changed files with 2 additions and 1 deletions

View File

@ -32,6 +32,7 @@ import com.arsdigita.dispatcher.DispatcherHelper;
import com.arsdigita.domain.DataObjectNotFoundException;
import com.arsdigita.domain.DomainObjectFactory;
import com.arsdigita.globalization.GlobalizationHelper;
import com.arsdigita.kernel.permissions.PrivilegeDescriptor;
import com.arsdigita.persistence.DataCollection;
import com.arsdigita.persistence.DataObject;
import com.arsdigita.persistence.OID;
@ -154,7 +155,7 @@ public class PublicPersonalProfilesServlet extends BaseApplicationServlet {
if (preview) {
page.addRequestListener(
new ApplicationAuthenticationListener());
new ApplicationAuthenticationListener(PrivilegeDescriptor.EDIT));
}
page.lock();