Notes on OpenACS permissions

How to do permissions programmatically.