[ewiki] auth in binary (Authmania continues)
- From: Andy Fundinger <andy@xxxxxxxxxxx>
- To: "'ewiki@xxxxxxxxxxxxx'" <ewiki@xxxxxxxxxxxxx>
- Date: Fri, 5 Dec 2003 16:57:57 -0500
I have to introduce the auth calls into the binary system and I'd like to
make some administrative plugins work the same way on binary and non-binary
pages. To wit I'll have to revise ewiki_page to allow actions on binary
pages. The relevant line is:
if (!empty($data["flags"]) && (($data["flags"] & EWIKI_DB_F_TYPE) !=
EWIKI_DB_F_TEXT) && ($ewiki_ring!==0)) {
return($o .= ewiki_t("DISABLEDPAGE"));
}
I think I'd like to approach this by adding an
$ewiki_plugins["action_binaryok"] action and allowing the replacement for
this check to pass if the action exists in this array. Is that ok? Should
we do this another way?
- Follow-Ups:
- [ewiki] Re: auth in binary (Authmania continues)
- From: Mario Salzer
Other related posts:
- » [ewiki] auth in binary (Authmania continues)
- » [ewiki] Re: auth in binary (Authmania continues)
- » [ewiki] Re: auth in binary (Authmania continues)
- » [ewiki] Re: auth in binary (Authmania continues)
- [ewiki] Re: auth in binary (Authmania continues)
- From: Mario Salzer