You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by sh...@tcs.com on 2005/10/26 13:45:47 UTC

The access control example on solprovider site is not working

Hi

The access control example available on solprovider site 
(http://www.solprovider.com/lenya/security) is not giving desired results. 
I have created a group named as 'employee' and a document named as 
'employee.html' in the default publication. After clicking on 'employee' 
link, it shows 'You must be an employee to see this page. Please login.' ( 
I logged in as 'lenya' user)  which looks to be correct. Now, even when I 
logged in as a user  of group 'employee', the same link is displayed. It 
would be very helpful if an urgent solution to this is provided.

Thanks in advance.


Regards
Shishir Bhasker Saxena
Tata Consultancy Services Limited
Gateway Park, Road No.13,
MIDC, Andheri (E)
Mumbai - 400 093,Maharashtra
India
Mailto: shishir.saxena@tcs.com
Website: http://www.tcs.com


Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you


Re: The access control example on solprovider site is not working

Posted by Doug Chestnut <dh...@virginia.edu>.
In Lenya 1.4 you should be able to restrict access to a document via the 
"AC Live" tab in the "site" area.

--Doug

shishir.saxena@tcs.com wrote:
> 
> Hi
> 
> The access control example available on solprovider site 
> (http://www.solprovider.com/lenya/security) is not giving desired 
> results. I have created a group named as 'employee' and a document named 
> as 'employee.html' in the default publication. After clicking on 
> 'employee' link, it shows 'You must be an employee to see this page. 
> Please login.' ( I logged in as 'lenya' user)  which looks to be 
> correct. Now, even when I logged in as a user  of group 'employee', the 
> same link is displayed. It would be very helpful if an urgent solution 
> to this is provided.
> 
> Thanks in advance.
> 
> 
> Regards
> Shishir Bhasker Saxena
> Tata Consultancy Services Limited
> Gateway Park, Road No.13,
> MIDC, Andheri (E)
> Mumbai - 400 093,Maharashtra
> India
> Mailto: shishir.saxena@tcs.com
> Website: http://www.tcs.com
> 
> 
> Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: The access control example on solprovider site is not working

Posted by so...@gmail.com.
On 10/26/05, shishir.saxena@tcs.com <sh...@tcs.com> wrote:
> The access control example available on solprovider site
> (http://www.solprovider.com/lenya/security) is not giving
> desired results. I have created a group named as 'employee' and a document
> named as 'employee.html' in the default publication. After clicking on
> 'employee' link, it shows 'You must be an employee to see this page. Please
> login.' ( I logged in as 'lenya' user)  which looks to be correct. Now, even
> when I logged in as a user  of group 'employee', the same link is displayed.

Did you fix (or disable) the cache?
http://solprovider.com/lenya/cache

If not, Lenya will serve the first page generated to everybody.  Login
as an employee, then delete the contents of:
{pub}/work/cache/live/
then immediately refresh the employee page.  Did it work now?  (If so,
it will show the employee section to everybody.)

I am adding that to the instructions, as well as how to test login.xsp.

solprovider

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org