These are the functions exposed by a permission directory adaptor (well, OK, they're not there yet):
Function | Parameters | Purpose |
0: init | Initialize adaptor instance | |
1: free | Clean up instance before shutting down | |
2: info | Return XML describing the adaptor | |
3: perm | XML * action XML * user (optional: use NULL if anonymous) |
Judge permission level. Returns "ok", "no", or the name of an approval process to start. |
Implementations:
This code and documentation are released under the terms of the GNU license. They are additionally copyright (c) 2000, Vivtek. All rights reserved except those explicitly granted under the terms of the GNU license. This presentation was prepared with LPML. Try literate programming. You'll like it. |