|
From: shane <sh...@lo...> - 2001-11-12 23:51:11
|
I saw the users_acl in the sql schema. Anyone have any examples of code
that uses it or docs for it?
Grepping for 'acl' in the code shows some code in Slash/DB/MySQL/MySQL.pm
setUser
$self->sqlReplace('users_acl', {
uid => $uid,
name => $_->[1]->{name},
value => $_->[1]->{value},
});
and getUser but otherwise I couldn't find anything in slash that
uses them.
I'm interested, because I've got a site that has many sections,
and each section needs to be maintained by a different user, and
only that user. Other 'section authors' shouldn't be able to
create/modify/del stories in other sections, nor templates from
other sections.
As far as I can tell, it'd be easier to do this with acl's then
with seclev's. Any suggestions?
Shane
|