Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.x] [Cases] Cases assignees sub feature (#201654) #209437

Open
wants to merge 1 commit into
base: 8.x
Choose a base branch
from

Conversation

kqualters-elastic
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

## Summary

This pr implements a new cases assignee sub-feature, allowing users to
control a role's ability to change the assignee of a case. With the
permission enabled, they can assign any user to any case, with it
disabled, the assignees component is hidden.

Read only + enabled:

![image](https://github.com/user-attachments/assets/ba421784-d976-4ae9-a399-e404c26b3842)

All + assign disabled:

![image](https://github.com/user-attachments/assets/d835b6f9-5a14-4ae0-abed-b3c3252c2692)

### Checklist

- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: Elastic Machine <[email protected]>
(cherry picked from commit 0e7c608)

# Conflicts:
#	x-pack/platform/plugins/shared/cases/server/client/cases/bulk_update.test.ts
#	x-pack/platform/plugins/shared/features/server/__snapshots__/oss_features.test.ts.snap
#	x-pack/test/api_integration/apis/cases/common/roles.ts
#	x-pack/test/api_integration/apis/cases/common/users.ts
#	x-pack/test/api_integration/apis/cases/privileges.ts
#	x-pack/test/security_api_integration/tests/features/deprecated_features.ts
#	x-pack/test/spaces_api_integration/common/suites/get.ts
@kqualters-elastic kqualters-elastic enabled auto-merge (squash) February 4, 2025 02:41
@botelastic botelastic bot added ci:project-deploy-observability Create an Observability project Team:obs-ux-management Observability Management User Experience Team labels Feb 4, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-management-team (Team:obs-ux-management)

Copy link
Contributor

github-actions bot commented Feb 4, 2025

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@elasticmachine
Copy link
Contributor

elasticmachine commented Feb 4, 2025

⏳ Build in-progress, with failures

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #27 / cases feature privilege User cases_v2_no_reopen_with_create_comment_user_api_int with role(s) cases_v2_no_reopen_role_api_int CANNOT reopen a case
  • [job] [logs] FTR Configs #27 / cases feature privilege User cases_v2_no_reopen_with_create_comment_user_api_int with role(s) cases_v2_no_reopen_role_api_int CANNOT reopen a case
  • [job] [logs] FTR Configs #6 / security APIs - Features deprecated features all deprecated features are known
  • [job] [logs] FTR Configs #6 / security APIs - Features deprecated features all deprecated features are known
  • [job] [logs] Jest Tests #14 / update Validation Authorization checks authorization for only reopenCase
  • [job] [logs] Jest Tests #14 / update Validation Authorization checks authorization for only reopenCase

History

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport ci:project-deploy-observability Create an Observability project Team:obs-ux-management Observability Management User Experience Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants