rest: add policy for resources

Change-Id: If6620bc62fd4e38a7e01a067dfe9412119001b46