Fix permission constructor; allow ObjectResourceInterface into permission constructor.