added permissions resource prototype