[JBoss JIRA] Created: (GTNPORTAL-715) the permission enhancement of container/application in the edit inline mode
by Trong Tran (JIRA)
the permission enhancement of container/application in the edit inline mode
---------------------------------------------------------------------------
Key: GTNPORTAL-715
URL: https://jira.jboss.org/jira/browse/GTNPORTAL-715
Project: GateIn Portal
Issue Type: Feature Request
Affects Versions: 3.0.0-CR01
Reporter: Trong Tran
Fix For: 3.0.0-GA
Folow the spec defined by Julien :
In all case ("Applications tab", "Containers tab" and switch view mode)
* The UIInfoBar
o does not show the "edit" and "remove" operations instead there is a lock icon that has no effect
o The label value is "Protected Content" instead of "Container" or the portlet/gadget name
* The component is drawn as an empty container
o When it is a container the children are never painted
o When the view mode switches, it is not painted and remains like a container visually
* The component can still be moved in its parent container
The idea is that the when the user edits the page:
* He cannot edit or remove the protected component
* He needs to understand that he cannot edit the component in any form
* He still needs to be able to move it in its parent container
* He still needs to see it when he is updating the page as he can take it in account for other people that can see that protected component
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month
[JBoss JIRA] Created: (GTNPORTAL-648) Portlet Permissions : I can view a portlet I shouldn't
by Benjamin Paillereau (JIRA)
Portlet Permissions : I can view a portlet I shouldn't
------------------------------------------------------
Key: GTNPORTAL-648
URL: https://jira.jboss.org/jira/browse/GTNPORTAL-648
Project: GateIn Portal
Issue Type: Bug
Affects Versions: 3.0.0-Beta05-CP01
Reporter: Benjamin Paillereau
Priority: Critical
Use case :
- Connect as root
-- john => make sure, he's only member:/platform/administrators
-- I put a simple portlet in a page with Access Permission for manager:/platform/administrators (only root)
- Connect as john
- then try step 1 then 2
1/ submenu error
-- go to the page with the limited access portlet
--- I don't see the portlet in the page (normal behaviour)
-- => error in the admin bar, we don't see sub-menus anymore
2/ security error
-- Go to Site / Edit Navigation / Edit Node's page
--- john can edit the page with the portlet he should'nt be able to see
--- john can
---- see the portlet view via Switch View mode (security problem with view)
---- edit the portelt and change Access Permissions (big security problem)
Normal behaviour should be that :
- john can edit the page but don't see the portlet
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month
[JBoss JIRA] Created: (GTNPORTAL-1236) UIFormComboBox missing value when open form
by tuan pham (JIRA)
UIFormComboBox missing value when open form
--------------------------------------------
Key: GTNPORTAL-1236
URL: https://jira.jboss.org/browse/GTNPORTAL-1236
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: WebUI
Affects Versions: 3.0.0-GA
Reporter: tuan pham
- In the component UIFormComboBox.java from line 202 to 205
text +=
"<input class='UIComboboxInput' options=\"" + options
+ "\" onkeyup='eXo.webui.UICombobox.complete(this,event);' type='text' " + renderJsActions() + " /></div>";
w.write(text);
it should be
text +=
"<input class='UIComboboxInput' options=\"" + options
+ "\" onkeyup='eXo.webui.UICombobox.complete(this,event);' type='text' " + renderJsActions() ;
if (value_ != null && value_.trim().length() > 0)
{
text += " value='" + encodeValue(value_).toString() + "'";
}
text += "/></div>";
because it rises error when edit data but in UI have no value on our product http://jira.exoplatform.org/browse/CS-4252
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month
[JBoss JIRA] Created: (GTNPORTAL-1387) NPE on portlet's edit mode when edit mode is not supported
by Prabhat Jha (JIRA)
NPE on portlet's edit mode when edit mode is not supported
----------------------------------------------------------
Key: GTNPORTAL-1387
URL: https://jira.jboss.org/browse/GTNPORTAL-1387
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.1.0-GA
Reporter: Prabhat Jha
Fix For: 3.2.0-GA
I have not been able to reproduce it again but this was my workflow:
- Deploy a JSF based portlet which only supports VIEW and HELP mode
- Add the portlet to home page under Edit page and click on its edit icon (pencil).
It throws following exception
2010-07-29 14:00:33,426 ERROR [portal:UIPortletForm] The portlet null could not be loaded. Check if properly deployed.
java.lang.NullPointerException
at java.lang.String.<init>(String.java:515)
at org.exoplatform.portal.webui.application.UIPortletForm.getEditModeContent(UIPortletForm.java:221)
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.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
at UIPortletForm.run(UIPortletForm.gtmpl:55)
at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:95)
at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:112)
at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:116)
at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:132)
at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:85)
at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:148)
at org.exoplatform.webui.form.UIForm.processRender(UIForm.java:191)
at org.exoplatform.webui.core.UIComponentDecorator.renderChildren(UIComponentDecorator.java:93)
at sun.reflect.GeneratedMethodAccessor489.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
at UIMaskWorkspace.run(UIMaskWorkspace.gtmpl:30)
at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:95)
Looking at source:
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month
[JBoss JIRA] Created: (GTNPORTAL-1538) Remove Shindig warnings at startup
by kien nguyen (JIRA)
Remove Shindig warnings at startup
----------------------------------
Key: GTNPORTAL-1538
URL: https://jira.jboss.org/browse/GTNPORTAL-1538
Project: GateIn Portal
Issue Type: Task
Security Level: Public (Everyone can see)
Reporter: kien nguyen
Priority: Minor
At startup, the following Warning appears.
Aug 25, 2010 5:39:42 PM org.apache.shindig.gadgets.JsFeatureLoader loadFeatures
INFO: Loading resources from: features/features.txt
Aug 25, 2010 5:39:42 PM org.apache.shindig.gadgets.JsLibrary loadResource
WARNING: Could not find resource: com/google/caja/plugin/domita-minified.opt.js-Can not locate resource: com/google/caja/plugin/domita-minified.opt.js
Aug 25, 2010 5:39:42 PM org.apache.shindig.gadgets.JsLibrary loadResource
WARNING: Could not find resource: features/caja/caja.opt.js-Can not locate resource: features/caja/caja.opt.js
Aug 25, 2010 5:39:42 PM org.apache.shindig.gadgets.JsLibrary loadResource
WARNING: Could not find resource: com/google/caja/plugin/valija.co.opt.js-Can not locate resource: com/google/caja/plugin/valija.co.opt.js
Aug 25, 2010 5:39:42 PM org.apache.shindig.gadgets.JsLibrary loadResource
WARNING: Could not find resource: com/google/caja/plugin/html-sanitizer-minified.opt.js-Can not locate resource: com/google/caja/plugin/html-sanitizer-minified.opt.js
Aug 25, 2010 5:39:42 PM org.apache.shindig.gadgets.oauth.OAuthModule$OAuthCrypterProvider <init>
INFO: Using random key for OAuth client-side state encryption
Even if they are not the sign of a real problem, they should be removed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 2 months