[JBoss-user] [Nukes User] - Re: Display module to all users

2005-03-01 Thread ncd
pedrojosemartins wrote : As i said before, i can only see it as 
administrator. If i'm not logged in or logged as a regular user, it does not 
show up in the modules menu, BUT i can access them via url.

Hi!

I had the same problem. I read the source and everything, but couldn't find 
anything.

Then I copied the code from the MenuBlock to my test module, and that displayed 
the menu right, but on the same page the menu didnt show my test module link. 
Then I tried to see what can be set in the Menu itself, and then I've found 
that each block/module on the page uses it's on permission settings (even 
related to other modules/blocks).

So I had to add this: permission group=* level=READ 
pattern=module:MyTestModule:main/ to the security of the Menu block, and 
then it shows it right.

If this is a feature to handle the permissions of a module in every block 
differently, then it is starnge, as this way we can pretty easily loose track 
of permissions, and at the moment I don't see too much of advantage of it.

I hope I could help with this to a lot of people, who strugle with this as I 
did.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3868343#3868343

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3868343


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: Display module to all users

2004-10-16 Thread pedrojosemartins
No, i still can't see it. I've undeployed it, redeployed it and it still doesn't show 
up. Strangely enough, i can access it through the url

http://localhost:8080/index.html?module=empresas

Any ideas on how to break this one? Thanks.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851618#3851618

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851618


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: Display module to all users

2004-10-16 Thread pedrojosemartins
As i said before, i can only see it as administrator. If i'm not logged in or logged 
as a regular user, it does not show up in the modules menu, BUT i can access them via 
url.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851619#3851619

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851619


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: Display module to all users

2004-10-15 Thread pedrojosemartins
??? I think you forgot to paste something.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851512#3851512

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851512


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: Display module to all users

2004-10-15 Thread theute

Sorry:

permission group=* pattern=:: level=READ/

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851567#3851567

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851567


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: Display module to all users

2004-10-15 Thread pedrojosemartins
In the web console, in the appropriate module, in the security textfield, 
i write

secutiry permission group=* pattern=:: level=READ/ /security

When pressing the Apply changes button, i receive the following error:

  | java.lang.IllegalArgumentException
  | at 
org.jboss.nukes.common.propertyeditor.XMLPropertyEditorSupport.setAsText(XMLPropertyEditorSupport.java:52)
  | at 
org.jboss.util.propertyeditor.PropertyEditors.convertValue(PropertyEditors.java:181)
  | at org.jboss.jmx.adaptor.control.Server.setAttributes(Server.java:169)
  | at 
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.updateAttributes(HtmlAdaptorServlet.java:215)
  | at 
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:77)
  | at 
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:61)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
...

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851601#3851601

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851601


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: Display module to all users

2004-10-15 Thread pedrojosemartins
The last post had a syntax error, it was security, not secutiry. However, after 
changing that, despite not having any error, it doesn't show up. Do i have to make any 
changes in the mysql database?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851603#3851603

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851603


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: Display module to all users

2004-10-15 Thread theute
I'm sorry again, need some sleep:

You need to put the whole code, with the line i tried to change:

?xml version=1.0 encoding=UTF-8?
  | server
  | mbean
  |code=org.jboss.nukes.addons.modules.empresas.EmpresasModule
  |name=nukes.modules:name=empresas
  |xmbean-dd=
  |xmbean-code=org.jboss.nukes.component.NukesMBean
  |xmbean
  |attribute name=Security
  |security
  |permission group=* pattern=.*:.*:.* level=READ/
  |/security
  |/attribute
  |attribute name=Configuration
  |module
  |operation name=main display-name=Hello 
description=Display Hello World image= hint=/
  | /module
  | /attribute
  |   dependsnukes.modules:name=core/depends
  |   attribute name=DisplayNameHello module/attribute
  |   attribute name=DescriptionUser module displaying Hello World/attribute
  |/xmbean
  | /mbean
  | /server

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851604#3851604

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851604


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: Display module to all users

2004-10-15 Thread theute
To be more precise, the whole code in the jboss-service.xml for next time you want to 
install it.

Otherwise just the security part in the jmx-console

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3851605#3851605

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851605


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user