added resources into permissions