掲示板

Redirect to login when accessing protected document

thumbnail
12年前 に Thomas Berg によって更新されました。

Redirect to login when accessing protected document

Regular Member 投稿: 131 参加年月日: 09/09/07 最新の投稿
Hi,

I've put a document in a certain organization's Document Library and have updated the permissions so that only organization members (and the owner) can access the document.

Users who click on the download link for the file (the url created by the Document Library) while not being logged in gets a message saying
"You do not have permission to access the requested resource". (com.liferay.portal.security.auth.PrincipalException)

This is expected behaviour I guess but is it possible to redirect non-logged-in users to the login page (appending a redirect-parameter for the resource) instead of showing this message?

Thanks in advance,
Regards Thomas
11年前 に Cedric Soret によって更新されました。

RE: Redirect to login when accessing protected document

New Member 投稿: 14 参加年月日: 12/02/27 最新の投稿
Hello,

It's late but had someone found any solution to this problem ?

Regards
Cedric
10年前 に Evan Zeimet によって更新されました。

RE: Redirect to login when accessing protected document

New Member 投稿: 9 参加年月日: 13/07/23 最新の投稿
Having the same issue. Hoping for a fix.