Changes between Version 16 and Version 17 of BluePrintAuthorizationB
- Timestamp:
- 06/20/10 15:25:45 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BluePrintAuthorizationB
v16 v17 94 94 }}} 95 95 96 === Visibility of options === 97 98 Extend MenuS3() to check for roles before inserting menu items. 99 100 Currently: 101 {{{ 102 menu_option = [T("Option"), right=False, URL=url] 103 }}} 104 105 New: 106 {{{ 107 menu_option = [T("Option"), right=False, restrict=[list_of_roles], URL=url] 108 }}} 109 110 - hide all sub-items when the main-item is hidden 111 - hide the main item when there are no more sub-items left? 112 - better: instead of hiding, make options "gray" 113 96 114 ---- 97 115 BluePrints