This content has been marked as final.
Show 6 replies
-
-
2. Re: how to hide a block?
ninus2 Jul 15, 2004 4:42 AM (in response to syrio)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 :)
-
3. Re: how to hide a block?
jae77 Jul 15, 2004 10:28 AM (in response to syrio)what permission problems are you having?
-
4. Re: how to hide a block?
syrio Jul 16, 2004 11:11 AM (in response to 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.
-
5. Re: how to hide a block?
syrio Jul 16, 2004 11:21 AM (in response to syrio)Merci ninus2, ca y est ca marche ;)
-
6. Re: how to hide a block?
zgibek Jan 12, 2005 10:05 AM (in response to syrio)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 set permisions :-)