Problem with allowing download for a specific user group
Posted: 01 Dec 2013, 18:19
Hi,
I have some files on my site which can be accessed only by a specific user group, but I want to display those inaccessible files to everyone. When a visitor click to download the file, he gets the message 'Please login to download the file'. That is great.
Then this visitor logs in. He is only a Registered user, but not a member of that specific user group. He still don't access the file (that's great), but he gets the message 'Please login to download the file' again, although he has already logged in.
This second message should be 'You do not have rights to access the file' or 'You are not member of the group that can access the file' or something similar. Additionally, the user should be redirected back to category view, when he gets the new warning message.
Does anyone else bumped into this issue?
I have some files on my site which can be accessed only by a specific user group, but I want to display those inaccessible files to everyone. When a visitor click to download the file, he gets the message 'Please login to download the file'. That is great.
Then this visitor logs in. He is only a Registered user, but not a member of that specific user group. He still don't access the file (that's great), but he gets the message 'Please login to download the file' again, although he has already logged in.
This second message should be 'You do not have rights to access the file' or 'You are not member of the group that can access the file' or something similar. Additionally, the user should be redirected back to category view, when he gets the new warning message.
Does anyone else bumped into this issue?