login | register
04 Jul 2008 [12:24 UTC]

bitweaver - Web Application Framework and CMS

Web Application Framework and CMS

Refresh cacheHistoryPrint

LibertySecurePackage

A package that secures lists of liberty content when custom content permissions are used

Created by: Will,Last modification on 02 May 2008 [01:56 UTC]
This package is in Beta for use with R2


Image
LibertySecurePackage patches a missing part of the custom content permissions feature of liberty: permissions checking when mixed lists of content are requested.

It does two things to accomplish this. 1) It registers the default View, Edit, and Admin content permissions content types have. 2) It adds sql to LibertyContent::getContentList which is used by many packages, typically search like packages to get lists of mixed content.

Get the Code: Checkout _bit_libertysecure from cvs.

To use install checkout the package from cvs. Then install it. Once installed go to its administration panel, and click "Register Content Types". WARNING!: If you installed bitweaver before Feb 26th 2008, or installed bitweaver from code created before that date, then you need to do one extra step before registering the content types. You need to make sure all the content types you are using are already in the liberty_content_types table. In sql select * from liberty_content_types and check that the results list shows all the various content types you are using on your site, such as wiki pages, blog posts, etc. If any are missing any, you can pump them into that table by simply requesting their edit or list feature, like list blog posts. Yes this sounds archaic, which is why it was patched on Feb 26th 2008, but you should make sure you do this for security purposes if you are using custom content permissions and libertysecure.

Comments

Search bitweaver


Wiki

Last Modified Pages

Login box