[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
13 years, 10 months
[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
13 years, 10 months
[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
13 years, 10 months
[JBoss JIRA] Created: (GTNPORTAL-1792) NPE on portlet's edit mode in composer while working in front
by Tugdual Grall (JIRA)
NPE on portlet's edit mode in composer while working in front
-------------------------------------------------------------
Key: GTNPORTAL-1792
URL: https://issues.jboss.org/browse/GTNPORTAL-1792
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.1.0-GA
Environment: Gate In 3.1 GA
Reporter: Tugdual Grall
1. Create a very simple portlet with 3 modes: view, help, edit
<portlet-mode>view</portlet-mode>
<portlet-mode>edit</portlet-mode>
<portlet-mode>help</portlet-mode>
2. Add the logic to call these 3 modes, calling JSPs
3. Import the portlet and drop it on a page
4. In the Edit Page mode (Composer) click on the pencil :
> NPE
While the edit more from the front is working correctly (Call edit in the window decoration drop down list)
Exception:
Feb 10, 2011 4:46:01 PM org.exoplatform.portal.webui.application.UIPortletForm getEditModeContent
SEVERE: 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(GroovySc
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months