Added active field to policy table
Modified permissions on mac and started adding policies to yii