Commit Graph
14 Commits
Author SHA1 Message Date
Deepak Dixit 8fb62e9937 Improved: Proper use of if-has-permission, Apply slightly modified patch from jira issue, if if-has-permission uses _ADMIN permission to check condition, so its good to have old pattern instead of using permission/action pattern.
Thanks Suraj Khurana for your contribution(OFBIZ-9740)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1812382 13f79535-47bb-0310-9956-ffa450edef68
2017-10-17 10:07:57 +00:00
Deepak Dixit 8f3141cd46 (OFBIZ-6274) Renamed OFBiz artefacts from org.ofbiz.* to org.apache.ofbiz.*.Thanks to Taher for working on it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1752920 13f79535-47bb-0310-9956-ffa450edef68
2016-07-16 10:30:49 +00:00
Arun Patidar d1de049cec Applied patch from jira issue - OFBIZ-7305 - Small UI issue at project overview. Thanks Anurag Chandak for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1751036 13f79535-47bb-0310-9956-ffa450edef68
2016-07-02 08:30:55 +00:00
Jacques Le Roux 4deae05a38 Fixes a "typo" in last commit for "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061
We used targetNamespace (should only be used in schema) instead of xsi:schemaLocation



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1749634 13f79535-47bb-0310-9956-ffa450edef68
2016-06-22 05:58:26 +00:00
Jacques Le Roux a98ac13d9d Completes and finish "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061
This is the 2nd step: puts back the original names, so it will be transparent for remaining references in xml catalogs, Java code, etc.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1749489 13f79535-47bb-0310-9956-ffa450edef68
2016-06-21 11:37:47 +00:00
Jacques Le Roux b20816bfa8 Completes and finish "Autocompletion for Compound Widget" - https://issues.apache.org/jira/browse/OFBIZ-7061 by replacing xsd files references in xml files by -ns.xsd files and removing the concerned xsd files
This is a 1st step, in a 2nd I will put back the original names, so it will be transparent for remaining reference in xml catalogs, Java code, etc.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1749488 13f79535-47bb-0310-9956-ffa450edef68
2016-06-21 11:14:16 +00:00
Jacques Le Roux ff0be4eae0 A patch from Anurag Chandak for "The 1st time you close a project you get an error, it works the 2d time" https://issues.apache.org/jira/browse/OFBIZ-2947
To regenerate this issue on trunk, here are the steps:

    Go to Project --> Projects
    Click on New Project
    Only enter Project Name and click on save button
    Close the current project.
    The following error is thrown 

Proper fix: issue occurred due to use of inappropriate map. Instead of fetching the value of projectId from parameters, its better to get it from context map as its already set at screen.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1749282 13f79535-47bb-0310-9956-ffa450edef68
2016-06-20 09:32:24 +00:00
Jacques Le Roux 832e582052 This closes "Replace bsh code with Groovy code" https://issues.apache.org/jira/browse/OFBIZ-6332 with all its subtasks and more.
jleroux: I suspected it was only a matter of replacing "${bsh" by "${groovy" in *.xml. But I had not the guts to get into 11(!) sub tasks. 
So, in Eclipse, I simply did a S/R in *.xml and compared parts of my changes with some Pierre's most "complex" patches respectively product, ebaystore, projectmgr and scrum. 
They were totally similar (just revisions number changed) so here is the whole. 

I will later improve these changes by removing HTML entities when possible, this is a bit more delicate because in some cases the XML schema are not complete (or/and for other still obscure to me reasons) and if you simply replace HTML entities by simple code (eg &Amp; by &) you get issues in logs when the XML parser cross them...

Note: only menus, screen and forms are changed here.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1682118 13f79535-47bb-0310-9956-ffa450edef68
2015-05-27 20:39:43 +00:00
Jacques Le Roux f305ded1d8 A patch from Pierre Smits for "Tasks menu item should only be visible to persons with appropriate rights" https://issues.apache.org/jira/browse/OFBIZ-5833
Currently the menu item Tasks (and the subsequent overview) is visibe to all persons having basic access to the application.
However, persons with assigned tasks can view these through the My Tasks options and project managers of assigned projects can view the tasks via the project.

jleroux: this makes sense to me, else what for "My Tasks" would be?

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1650967 13f79535-47bb-0310-9956-ffa450edef68
2015-01-11 20:43:15 +00:00
Erwan de Ferrieres 041959c5fd Adding missing uiLabels in projectmgr when closing or scheduling a project
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1155465 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 18:40:30 +00:00
Sascha Rodekamp 7da19e4b7b BUG - PROJECTADMIN cannot create projects in projectmgr (https://issues.apache.org/jira/browse/OFBIZ-3201).
I add a new permission check to the ProjectMenu.xml to check weather the user have PROJECTMGR_ADMIN rights or not. If not he should not be able to create new Projects. 
That means that users which are in the security group PROJECTADMIN aren't allowed to create new projects by default. Because they are responsable for there own projects and not for creating new once. Maybe the name of the Permission group is a little bit confusing. The PROJECTADMIN is not the admin from the project module he is more a Project manager (an admin for his own projects).

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1087680 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 12:23:12 +00:00
Bruno Busco e23658b420 ProjectSubTabBar menu is actually a ProjectButtonBar.
Added proper style to create button.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1032671 13f79535-47bb-0310-9956-ffa450edef68
2010-11-08 19:13:57 +00:00
Erwan de Ferrieres 06db5f0d19 Using right decorator for the request list in project manager, removing the unnecessary menu
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@929126 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 13:13:57 +00:00
Bruno Busco 9ce666ca0d Part of OFBIZ-3067 - Menus and form widget files location
Assetmaint, Oagis and Projectmgr components
Renamed assetmaint/widget/Menus.xml to assetmaint/widget/AssetmaintMenus.xml
Renamed oagis/widget/Menus.xml to oagis/widget/OagisMenus.xml
Renamed projectmgr/widget/Menus.xml to projectmgr/widget/ProjectMenus.xml

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@829325 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 08:54:33 +00:00