Hello,
I made a small research and I think you should implement method
getDisplayed(Page page) in such a manner:
public boolean getDisplayed(Page page)
| {
|return secAuthAction(::, Constants.SEC_ACCESS_READ);
| }
Also remember to add:
import org.jboss.nukes.Constants;
And of course
In the htmlblock Mbean view in the JMX Console there is a checkbox to set the
block to show for annonymous users or not.
DisplayedWhenAnonymous true false
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3857781#3857781
Reply to the post :
in fact, I've created a HTML block and I don't want Anonymous to see it. I don't
know how permissions work... Could you tell me how I can make it? What pattern need I
use? Thanks a lot.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3842408#3842408
Reply to
Merci ninus2, ca y est ca marche ;)
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3842413#3842413
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842413
---
This SF.Net
I noticed some blocks have a DisplayWhenAnonymous parameter you can change in the
services_attributes table in nukes database... I'm having trouble with permissions too
:)
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3842169#3842169
Reply to the post :
what permission problems are you having?
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3842251#3842251
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842251
---
This