From: Arno H. <aho...@in...> - 2000-07-03 18:33:39
|
> Do we want to add page locking now? I want to. I think we should add one > more column to the tables, "access" and it will just be Boolean for now. I > have the administration forms largely fleshed out, and it should be simple > and rudimentary for the first time it's released: if it's locked, noone > can edit it, if it's not everyone can. Cough. Ahm, how about using the flags column? That's what this column is all about - binary flags that can be tested with bit-opertaions. e.g. define("PAGE_LOCKED", 1); if($pagehash['flags'] & PAGE_LOCKED) dont_allow_edit(); /Arno |