Closed t83714 closed 1 year ago
orgUnitId
access-control
The orgUnitId of access-control aspect minLength should be 0 to allow empty string.
https://github.com/magda-io/magda/blob/69cf8e94e9a68af49896bb75c101aaf750407600/magda-registry-aspects/access-control.schema.json#L16
In the ticket:
We have allowed setting records orgUnitId to an empty string as a shortcut to make the record public record (via a permission with orgUnit constraint).
closed via PR: https://github.com/magda-io/magda/pull/3441
the
orgUnitId
ofaccess-control
aspect minLength should be 0The
orgUnitId
ofaccess-control
aspect minLength should be 0 to allow empty string.https://github.com/magda-io/magda/blob/69cf8e94e9a68af49896bb75c101aaf750407600/magda-registry-aspects/access-control.schema.json#L16
In the ticket:
3412
We have allowed setting records
orgUnitId
to an empty string as a shortcut to make the record public record (via a permission with orgUnit constraint).