Per this comment: #843 (comment), we will need to fail database policy validation if it references claims other than userId and userDetails for Static Web Apps.
Note: Static Web Apps does not support claims in the EasyAuth payload as of now (and until public preview atleast). The above two claims are added by us using the corresponding properties in the SWA payload (See this PR : #1004)