by Byte » Wed Sep 02, 2009 6:01 am
Hi,
Since I have the same thing over and over again: how about including this information in one of the ini files? Would be much easier to configure that way than to include this piece of code...
Something like:
[access]
admin = all
editors = all
other = read_only
where the key is always a group name, the value are the constants that you expect in the code..
What do you think? Of course this does not cover all possibilities (like permissions based on record values) but I think it would be sufficient in 99% of the time.