Refs #6142 , Disallow creating unrestricted content inside a restricted group

Makes sure that the access_id is acceptable when creating content inside a group that is using the members_only policy for group content.