- πΊπΈUnited States GuyPaddock
@mkolar We're going to give this snippet a spin here for an internal API integration that needs to fetch role information from sites. One thing I noticed -- right now the snippet you provided doesn't confirm that the entity type is a user, correct? So, theoretically any
roles
field in any entity would be impacted.I'm thankful for the snippet, but just wanted to point out for others using the snippet that they might want some additional checks in their hook implementation.
- πΊπΈUnited States GuyPaddock
Updating issue metadata to aid in discoverability.