Commit Graph
11 Commits
Author SHA1 Message Date
Andrew Zeneski f850e8b08c Content Permission & Service Refactoring: A number of big changes to content services including new permission services. This is the first pass with detailed testing on blogs in ecommerce. Tested low level screens as well.
This is the first pass, there are still a number of references to old permission checking, some services need to be refactored, some replaced with better practices. This is a work in progress. 

This first pass includes the removal of special BLOG_ roles and status. Replaced with a generic CONTENT_ and CTNT_. Also adds new ECAs to base createContent service which creates OWNER role as well as associations when passed a contentIdTo or contentIdFrom (and TYPE). This will probably replace the persistContentAndAssoc service which is used in many places. Some have been updated in the revision, others will follow.

Most code which calls the older permission services are found in .java files. Almost all simple methods have been converted to have the permission in the service def and the code removed from the implementation. Java methods still need to be addressed.

The older permission service will output a warning in logs with a stack trace to help track down places where this service is still being called. This is not an error, but may show in logs for the time being.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@509321 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 19:53:06 +00:00
Jacques Le Roux dad67935f7 A (large) patch from Scott Gray "Update ASL header" (https://issues.apache.org/jira/browse/OFBIZ-637).
I put also some svn:ignore for shark build and lib diretories and assetmaint/build 

I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.

I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00
Jacopo Cappellato 669220064e Fixed content permission errors: OFBIZ-526
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@484960 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 10:04:29 +00:00
David E. Jones a0a99db38a Applied patch from Marco Risaliti with another pass at the internationalization of the ProductSearch stuff, and the search by catalog stuff; Jira #OFBIZ-179
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@473652 13f79535-47bb-0310-9956-ffa450edef68
2006-11-11 06:25:52 +00:00
Jacopo Cappellato 0716064369 removed more unused files from the content component.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@472295 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 22:04:27 +00:00
Jacopo Cappellato 37a16e06c5 Misc menu cleanups
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@471389 13f79535-47bb-0310-9956-ffa450edef68
2006-11-05 09:59:35 +00:00
Jacopo Cappellato 80d7f347c0 Formatting fixes
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@466029 13f79535-47bb-0310-9956-ffa450edef68
2006-10-20 08:13:05 +00:00
Jacopo Cappellato 13d922e40b Applied patch from Scott Gray to fix npe (OFBIZ-17).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@466028 13f79535-47bb-0310-9956-ffa450edef68
2006-10-20 08:08:18 +00:00
Jacopo Cappellato 8c625ef3ff Removed author information from all the files of the content component: keeping this information in source files is discouraged by the ASF (clearer information about the contributors of a file can be derived from the commit logs).
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@454085 13f79535-47bb-0310-9956-ffa450edef68
2006-10-08 06:12:42 +00:00
Jacopo Cappellato d4d3f3d355 License change from MIT to ASL2.0 for the files of the content component.
Thanks to Scott Gray for the patch (Apache OFBIZ-87).

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@422872 13f79535-47bb-0310-9956-ffa450edef68
2006-07-17 21:12:16 +00:00
David E. Jones 94fe6d1cda Initial OFBiz import from revision 7923 of the old svn.ofbiz.org SVN repository.
git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@418498 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 19:05:20 +00:00