I installed CB today, and punlished the workflows module and set the access to Special. However, all users that are logged in, whether registered or special, get to see the CB Workflows modules.
It could easily be a Joomla bug. I wrote a bit of code that I drop into my index.php file around the module that contains the CB Workflow module.
[code:1]<?
global $my;
$thisid = $my->id;
$sql = mysql_query("SELECT usertype FROM jos_users WHERE id='$thisid'"«»);
$result = @mysql_query($sql);
while ($row = @mysql_fetch_array($sql)) {
extract($row);
}
if ($usertype != "Registered"«») {
mosLoadModules ( 'user5' );
}
?>[/code:1]
This simply gets the usertype of the user, and if it's not "Registered" (i.e. is special or backend) then it displays the Joomla module, and hence the CB Workflow module.