michaels
committed
on 13 Apr 05
use standard permissions and permissions api; more tweaking