zikula/core — Issue #166: Blocks security schema inconstancy 
Author: zkFilip
Created: 2011-11-16 11:09:00+00:00
State: open

HI,
1- when you look at "core / src / system / Blocks / lib / Blocks / Version.php", line 26 and 27, the security schema only include the options "Blocks::" and "Blocks::position".
But when you compare to "core / src / system / Blocks / lib / Blocks / Block / XXX.php" files, in example for HTML, line 22 :
"SecurityUtil::registerPermissionSchema('HTMLblock::', 'Block title::');" is used.

2- IMHO, the generic schema using "Blocks::" and block ids is easier to use than specific block rules per module/extension. You should also advise module developers to follow this schema for a better usability.

Thanks for your work