kibana/docs/api/role-management
Jeramy Soucy aa445dff8a
Warn & Disallow Creating Role with Existing Name (#132218) (#133627)
* Adds inline warning (name focus/onBlur) and toast warning (saveRole) when attempting to create a role with a name that already exists.
Disallows creating a role with a name that already exists.
Event handling efficiency needs review.

* Updated API documentation.
Implemented unit and functional tests.

* Added name compare to throttle GET request from onBlur for efficiency.

* Reorganized functional and unit tests. Improved UI logic and presentation.

* Update x-pack/plugins/security/server/routes/authorization/roles/put.test.ts

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>

* Update x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.test.tsx

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
(cherry picked from commit cb403a6fa0)
2022-06-06 08:16:47 -07:00
..
delete.asciidoc [DOCS] Updates API requests and examples (#60695) 2020-03-20 16:33:20 -05:00
get-all.asciidoc [DOCS] Updates API requests and examples (#60695) 2020-03-20 16:33:20 -05:00
get.asciidoc Timelion App removal (#110255) 2021-09-10 14:53:07 +03:00
put.asciidoc Warn & Disallow Creating Role with Existing Name (#132218) (#133627) 2022-06-06 08:16:47 -07:00