Add configurable_work_item_types licensed feature and permissions
What does this MR do and why?
This change adds a new feature called "configurable work item types" to GitLab's subscription system. It's available to the premium tier to group-level usage only, meaning individual users cannot access it on their personal accounts.
It also includes proper permissions create_work_item_type and update_work_item_type for projects, groups and organizations (instance).
We additionally found a bug in the existing admin_work_item_lifecycle action which should work similar to the newly introduced type-related actions.
This MR furthermore introduces two concerns WorkItems::SharedPolicy and WorkItems::GroupPolicy to make reuse of conditions etc. easier.
References
- [BE] Ensure privileges, policies and abilities ... (#581944)
- [Clarification] Work item type permissions (#585643 - closed)
Screenshots or screen recordings
How to set up and validate locally
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.