-
1. 3843871
ninus2 Jul 16, 2004 5:54 AM (in response to arnaud.tessier)moi ça me fait pareil: j'ai du mal à gérer les droits de mes blocks html pour plusieurs groupes, toutefois tu as regardé les droits dans la table des attributs des services de ta base de données nukes? (j'ai des problèmes de connexion à ma base alors des fois j'le fais à la main, des fois aussi ça marche :))
Aussi, il y a un niveau de permission NONE, mais il enlève les droits??
Je l'ai essayé en "double emploi" mais sans succès... tu l'as essayé?
-------------------------------------------
I encounter the same problem, did you try modifying the rights yourself in the nukes.services_attributes table of the nukes database?
Also, I was wondering: there's a NONE permission level that could be used but I failed using it. -
2. Re: HTML block permission setting
arnaud.tessier Jul 16, 2004 6:20 AM (in response to arnaud.tessier)I try ANONYMOUS / NONE but no effect.
??? -
3. Re: HTML block permission setting
ninus2 Aug 2, 2004 10:02 AM (in response to arnaud.tessier)really I don't understand, whether I create my block with the Nukes create fonction then set permissions or deploy one with the security attribute in its jboss-service.xml file, I can't get to make the permissions work, I wish someone would help with the patterns... should I use:
NameofMyBlock:nameofSource.html:.* ? what's the meaning of .*:: ? I can accept that .*:.*:.* means everything but that pattern doesn't work for my HtmlBlock... also I haven't found the secAuthAction(...,Constants.SEC_ACCESS_READ) call, where is it located? should I add it in my block's code? in the render method? hmm sorry it's probably painful to read but I need help with patterns mostly :) -
4. Re: HTML block permission setting
mchinn Dec 7, 2004 1:54 PM (in response to arnaud.tessier)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