hunk.code_window: 		return
   	}
   	if c.App.License() == nil || !*c.App.License().Features.GuestAccounts {
   		c.Err = model.NewAppError("Api4.promoteGuestToUser", "api.team.promote_guest_to_user.license.error", nil, "", http.StatusNotImplemented)
   		return
   	}
   	if !*c.App.Config().GuestAccountsSettings.Enable {
  
hunk.labels: keep keep keep replace keep keep keep keep keep
hunk.after_edit: 	if c.App.License() == nil {
  
hunk.file_path: api4/user.go
hunk.type: replace
file: Security
  ========
  
  Safety and data security is of the utmost priority for the Mattermost community. If you are a security researcher and have discovered a security vulnerability in our codebase, we would appreciate your help in disclosing it to us in a responsible manner.
  
  Reporting security issues
  -------------------------
  
  **Please do not use GitHub issues for security-sensitive communication.**
  
  Security issues in the community test server, any of the open source codebases maintained by Mattermost, or any of our commercial offerings should be reported via email to [responsibledisclosure@mattermost.com](mailto:responsibledisclosure@mattermost.com). Mattermost is committed to working together with researchers and keeping them updated throughout the patching process. Researchers who responsibly report valid security issues will be publicly credited for their efforts (if they so choose).
  
  For a more detailed description of the disclosure process and a list of researchers who have previously contributed to the disclosure program, see [Report a Security Vulnerability](https://mattermost.com/security-vulnerability-report/) on the Mattermost website.
  
  Security updates
  ----------------
  
  Mattermost has a mandatory upgrade policy, and updates are only provided for the latest 3 releases and the current Extended Support Release (ESR). Critical updates are delivered as dot releases. Details on security updates are announced 30 days after the availability of the update.
  
  For more details about the security content of past releases, see the [Security Updates](https://mattermost.com/security-updates/) page on the Mattermost website. For timely notifications about new security updates, subscribe to the [Security Bulletins Mailing List](https://about.mattermost.com/security-bulletin).
  
  Contributing to this policy
  ---------------------------
  
  If you have feedback or suggestions on improving this policy document, please [create an issue](https://github.com/mattermost/mattermost-server/issues/new).
  