Add data privacy request route and implementation
- Introduces new role for data-privacy-officer(Role allows user to manage data privacy requests) - along with a new system resource for data privacy requests and its access control - Routes as per access control to create data privacy request, list request and filter it based on their kind and status, update data privacy request status, and create/list comments on data privacy request
This commit is contained in:
@@ -342,11 +342,15 @@ func (s *Store) Query{{ .expIdentPlural }}(
|
||||
{{ if .features.paging }}
|
||||
// paging feature is enabled
|
||||
if f.PageCursor != nil {
|
||||
if tExpr, err = cursor(f.PageCursor); err != nil {
|
||||
return
|
||||
} else {
|
||||
expr = append(expr, tExpr...)
|
||||
}
|
||||
{{- if .features.sorting }}
|
||||
if tExpr, err = cursorWithSorting(f.PageCursor, s.{{ .api.sortableFields.fnIdent }}()); err != nil {
|
||||
{{- else }}
|
||||
if tExpr, err = cursor(f.PageCursor); err != nil {
|
||||
{{- end }}
|
||||
return
|
||||
} else {
|
||||
expr = append(expr, tExpr...)
|
||||
}
|
||||
}
|
||||
{{ end }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user