Frontend: Improve messaging around environment variables protected by default
Summary
Groups and project CICD variables have the following notice at the top:
Environment variables are configured by your administrator to be protected by default.
It seems like all it does is check the Protected checkmark by default when creating a new variable, but it also makes people believe that if neither the Protected nor the Masked checkbox is checked, then it’s still considered Protected by default
. This simply means that the default for any new variable is going to be protected
. That said, the notice at the top is misleading and repetitive because when you create the new variable you can see the Protected box already checked anyway. This message could be confusing to users and it is not delivering on the intention of alerting people to something.
Proposal
- Remove the message
Additional details
Some relevant technical details, if applicable, such as:
- Does this need a feature flag?
- Is there an example response showing the data structure that should be returned (new endpoints only)?
- What permissions should be used?
- Is this EE or CE?
-
EE -
CE
-
- Additional comments: