ERP5 KM

HowToUseExperimentalCore

erp5_core_experimental

Folder_delete

Function Object_hasRelation moved out of the script Folder_delete and given proxy role - otherwise if a user tries to delete object which is referenced by something inaccessible he gets Unauthorized insted of "1 item in use" message.

User_hasRole

(probably bad naming)

Workflow actions are protected by permission or by role; portal type actions have only permissions, while it'd be useful to be able to configure them the same way as workflow actions. Hence this little script.

GUI

Base_hashCategoryList

The category hash for parallel list field - sorts values the same way list items are sorted, and also makes values unique if user accidentally assigned the same object to the same category more then once

Utils and core API clients

uniq

man uniq

view_url

Like absolute_url, but appends '/view'. Saves a lot of typing.

getParentViewUrl

Returns absolute url of parent object with '/view' suffix.

HowToUseExperimentalCore (last edited 2008-03-25 15:13:08 by BartekGorny)

Page
  • Immutable Page
  • Info
  • Attachments
User
Learn about new ERP5 releases,technical articles, events and more.

Subscribe to the monthly ERP5 Newsletter!