# Bug OP-16139 - Migration of SAML auth providers doesn't retain limit_self_registration

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-16139

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module |  |
| Target versions | 15.0.2 |
| Observed in versions | 15.0.0 |
| Sprint | 15.0.2 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 15.0.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable | Tizian Rößler |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Have an OpenProject 14.6.3 instance with a SAML provider that has limit\_self\_registration enabled

2.  Update to OpenProject 15.0.1

### What is the buggy behavior?

  - After the update limit\_self\_registration isn't set anymore

  - SAML users can register themselves

### What is the expected behavior?

1.  SAML user should not be able to register by themselves when limit\_self\_registration is enabled
    
    <br>

### 

This bug might be related to <mention class="mention" data-id="59370" data-type="work_package" data-text="#59370">\#59370</mention> 

###
