Forums / Cotonti / Extensions / help wanted with rights

pagecategories

MIHDev
#27694 2010-12-31 18:11
Ah ok, that makes sense, In this case you could use
Sed_Auth
function.

Have a look at List.Inc.Php for an example usage.
Something like this from List.inc.php:
list($usr['auth_read'], $usr['auth_write'], $usr['isadmin']) = sed_auth('page', $c);
sed_block($usr['auth_read']);

From there you can pass in the $c var in a loop over the categories on the site.
[b]Know the question and you will be far more likely to get an answer.[/b]