[JBoss-dev] [Nukes Development] - Re: how to hide a block?

2005-01-12 Thread zgibek
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

[JBoss-dev] [Nukes Development] - Re: how to hide a block?

2004-12-07 Thread mchinn
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 :

[JBoss-dev] [Nukes Development] - Re: how to hide a block?

2004-07-16 Thread syrio
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

[JBoss-dev] [Nukes Development] - Re: how to hide a block?

2004-07-16 Thread syrio
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

[JBoss-dev] [Nukes Development] - Re: how to hide a block?

2004-07-15 Thread ninus2
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 :

[JBoss-dev] [Nukes Development] - Re: how to hide a block?

2004-07-15 Thread jae77
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