8.31.0
@comet/admin@8.31.0
Patch Changes
-
be2d64f: Show the GraphQL error messages in the error dialog again
createErrorDialogApolloLinkonly passed the message of network errors to theErrorDialog.
For GraphQL errors, the dialog showed "Unknown error" instead of the actual messages (e.g., the message of aBadRequestExceptionthrown by the API).
@comet/cms-admin@8.31.0
Minor Changes
-
f3907cc: Remove the "Permissions" and "Scopes" columns from the user permissions users list
The users list now shows the name, the email and the row actions. The
permissionsCountandcontentScopesCountfields ofUserPermissionsUserare deprecated and now return0. They will be removed in the next major version.
Patch Changes
-
8b5f06f: Stop deduplicating content scopes in the user permissions API
UserPermissionsService.getAvailableContentScopes(),getContentScopes()andgetPermissionsAndContentScopes()no longer deduplicate their content scopes. Deduplication only mattered for how the scopes are displayed, so it now happens in the admin where the lists are rendered. This also removes thelodash.uniqwithdependency.Projects that consume
UserPermissionsPublicServiceor thecurrentUser/availableContentScopesGraphQL fields directly and rely on the scopes being unique should deduplicate them on their side.
@comet/cms-api@8.31.0
Minor Changes
-
8b5f06f: Stop deduplicating content scopes in the user permissions API
UserPermissionsService.getAvailableContentScopes(),getContentScopes()andgetPermissionsAndContentScopes()no longer deduplicate their content scopes. Deduplication only mattered for how the scopes are displayed, so it now happens in the admin where the lists are rendered. This also removes thelodash.uniqwithdependency.Projects that consume
UserPermissionsPublicServiceor thecurrentUser/availableContentScopesGraphQL fields directly and rely on the scopes being unique should deduplicate them on their side. -
f3907cc: Remove the "Permissions" and "Scopes" columns from the user permissions users list
The users list now shows the name, the email and the row actions. The
permissionsCountandcontentScopesCountfields ofUserPermissionsUserare deprecated and now return0. They will be removed in the next major version.