updated datamodel plugin - added pending perms req