Override deprecated project attribute field
requested to merge 219482-project-create-api-does-not-honour-access-levels-across-multiple-features into master
What does this MR do and why?
It overrides the deprecated attribute field wiki_enabled
by the new field wiki_access_level
value.
How to set up and validate locally
- Make a CURL request to create a project with the parameter
wiki_access_level=disabled
:curl --request POST --header "PRIVATE-TOKEN: XXXXXXXX" "http://localhost:3000/api/v4/projects?name=test-wiki-access-level&wiki_access_level=disabled"
- Open the project in the browser and validate that
Wiki
is disabled.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
History
An attempt has been made previously to fix this issue but it didn't work because of this reason.
Related to #219482 (closed)
Edited by Mansoor Khan