Annotation Interface SpacePii


@Target(METHOD) @Retention(RUNTIME) public @interface SpacePii
Marks a space property as holding personal data (PII).

In a secured space, reading a PII property requires the SpaceAuthority.SpacePrivilege.READ_PII privilege and writing it requires SpaceAuthority.SpacePrivilege.WRITE_PII, optionally restricted with a SpaceAuthority.FieldFilter (any space) or a SpaceAuthority.SpaceFieldFilter (one space). Users lacking read access get PII properties omitted from select-all projections, and get an access denied error when projecting or querying on them.

Since:
18.0.1