Define flexible permissions for any resource you want.