[JBoss JIRA] Created: (GTNPORTAL-1965) Private gadget's category is visible to all users in dashboard
by William Siqueira (JIRA)
Private gadget's category is visible to all users in dashboard
--------------------------------------------------------------
Key: GTNPORTAL-1965
URL: https://issues.jboss.org/browse/GTNPORTAL-1965
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Security, User Interface
Affects Versions: 3.1.0-GA
Environment: RHEL 6.0
Firefox/3.6.18
Reporter: William Siqueira
Priority: Critical
Attachments: CategoryGadgetBug.pdf
I would like to a gadget category to be visible only to Administrators. In this category I'll add some gadgets, but it should not be visible to other users than Administrators.
The problem is when I go to my dashboard logged as another user that is not in Administrator group, I still can see the category that should be visible only to Administrators.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months
[JBoss JIRA] (GTNPORTAL-2184) Problem with gadgets when the host name includes the word "portal"
by Hai Nguyen (Created) (JIRA)
Problem with gadgets when the host name includes the word "portal"
------------------------------------------------------------------
Key: GTNPORTAL-2184
URL: https://issues.jboss.org/browse/GTNPORTAL-2184
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Hai Nguyen
When using a host name including the word "portal" the gadgets are not displayed and we get the following stack trace on the server log:
{code:xml}
org.exoplatform.groovyscript.TemplateRuntimeException: Groovy template exception at DataText[pos=Position[col=1,line=10],data= uicomponent.renderChild(UIGadgetViewMode.class) ;] for template app:/groovy/gadget/webui/component/UIGadgetPortlet.gtmpl
at org.exoplatform.groovyscript.GroovyScript.buildRuntimeException(GroovyScript.java:178)
at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:121)
at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:118)
at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:117)
...
{code}
How to reproduce:
- Add a new name host to the OS including the word portal (for example: portal-local)
- Run the Gatein server and log in as root
- Add a page (test) with gadgets
- if we use the following url: http://localhost:8080/portal/private/classic/test => the gadgets are displayed without any problem.
- if we use the following url: http://portal-local:8080/portal/private/classic/test => the gadgets are nor displayed and we get the exception
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months
[JBoss JIRA] (GTNMGMT-27) Cannot authenticate user 'root' in non-default portal containers (until authenticated via web UI)
by Tomas Kyjovsky (Created) (JIRA)
Cannot authenticate user 'root' in non-default portal containers (until authenticated via web UI)
-------------------------------------------------------------------------------------------------
Key: GTNMGMT-27
URL: https://issues.jboss.org/browse/GTNMGMT-27
Project: GateIn Management
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: cli
Affects Versions: 1.0.0-Beta04
Reporter: Tomas Kyjovsky
Assignee: Nick Scavelli
Error: Could not authenticate for user 'root'
ERROR [CRaSH] Error while evaluating request 'mgmt connect -c sample-portal' Error: Could not authenticate for user 'root'
org.crsh.command.ScriptException: Could not authenticate for user 'root'
at org.gatein.management.cli.crash.commands.GateInCommand.login(GateInCommand.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:267)
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149)
at mgmt.connect(mgmt:47)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.crsh.cmdline.matcher.MethodMatch.doInvoke(MethodMatch.java:153)
at org.crsh.cmdline.matcher.CommandMatch.invoke(CommandMatch.java:76)
at org.crsh.command.CRaSHCommand$1.invoke(CRaSHCommand.java:250)
at org.crsh.shell.impl.AST$Expr$ShellProcessImpl.execute(AST.java:113)
at org.crsh.shell.impl.AST$Expr$ShellProcessImpl.invoke(AST.java:88)
at org.crsh.shell.impl.CRaSHProcess.execute(CRaSHProcess.java:45)
at org.crsh.shell.concurrent.AsyncShell$Process.run(AsyncShell.java:158)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.jcr.LoginException: Identity not found, check Loginmodule, userId root
at org.exoplatform.services.jcr.impl.core.access.JAASAuthenticator.authenticate(JAASAuthenticator.java:110)
at org.exoplatform.services.jcr.impl.core.RepositoryImpl$6.run(RepositoryImpl.java:592)
at org.exoplatform.services.jcr.impl.core.RepositoryImpl$6.run(RepositoryImpl.java:588)
at org.exoplatform.commons.utils.SecurityHelper.doPrivilegedExceptionAction(SecurityHelper.java:309)
at org.exoplatform.services.jcr.impl.core.RepositoryImpl.login(RepositoryImpl.java:599)
at org.gatein.management.cli.crash.commands.GateInCommand.login(GateInCommand.java:56)
... 25 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months
[JBoss JIRA] (GTNMGMT-28) Cannot browse into sub-resources of "mop" resource in non-default portal containers
by Tomas Kyjovsky (Created) (JIRA)
Cannot browse into sub-resources of "mop" resource in non-default portal containers
-----------------------------------------------------------------------------------
Key: GTNMGMT-28
URL: https://issues.jboss.org/browse/GTNMGMT-28
Project: GateIn Management
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: cli
Affects Versions: 1.0.0-Beta04
Reporter: Tomas Kyjovsky
Assignee: Nick Scavelli
ERROR [cli] Operation exception for operation read-resource and address /mop/portalsites
org.gatein.management.api.exceptions.OperationException: MOP session was null
at org.exoplatform.portal.mop.management.operations.AbstractMopOperationHandler.execute(AbstractMopOperationHandler.java:62)
at org.gatein.management.core.api.controller.SimpleManagementController.execute(SimpleManagementController.java:92)
at org.gatein.management.api.controller.ManagementController$execute.call(Unknown Source)
at login$_run_closure2.doCall(login:22)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:883)
at groovy.lang.Closure.call(Closure.java:410)
at org.crsh.command.GroovyCommand.invokeMethod(GroovyCommand.java:53)
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:72)
at cd.main(cd:23)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.crsh.cmdline.matcher.MethodMatch.doInvoke(MethodMatch.java:153)
at org.crsh.cmdline.matcher.CommandMatch.invoke(CommandMatch.java:76)
at org.crsh.command.CRaSHCommand$1.invoke(CRaSHCommand.java:250)
at org.crsh.shell.impl.AST$Expr$ShellProcessImpl.execute(AST.java:113)
at org.crsh.shell.impl.AST$Expr$ShellProcessImpl.invoke(AST.java:88)
at org.crsh.shell.impl.CRaSHProcess.execute(CRaSHProcess.java:45)
at org.crsh.shell.concurrent.AsyncShell$Process.run(AsyncShell.java:158)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 8 months