Skip to content

[backport 3.3] box: mark replication role as system#11854

Merged
sergepetrenko merged 1 commit intorelease/3.3from
backport/release/3.3/11852
Sep 26, 2025
Merged

[backport 3.3] box: mark replication role as system#11854
sergepetrenko merged 1 commit intorelease/3.3from
backport/release/3.3/11852

Conversation

@TarantoolBot
Copy link
Collaborator

@TarantoolBot TarantoolBot commented Sep 25, 2025

(This PR is a backport of #11852 to release/3.3 to a future 3.3.4 release.)


The replication role (id = 3) was predefined but not included in the system users/roles definitions. As a result, it was not protected from being dropped or modified, unlike guest, admin, public, and super.

This patch adds replication to the list of system roles and extends BOX_SYSTEM_USER_ID_MAX accordingly, so that the role is treated consistently as a system entity.

Follow-up to #1205, #3084.

Closes #11848

NO_DOC=already in doc

The `replication` role (id = 3) was predefined but not included
in the system users/roles definitions. As a result, it was not
protected from being dropped or modified, unlike `guest`, `admin`,
`public`, and `super`.

This patch adds `replication` to the list of system roles and
extends `BOX_SYSTEM_USER_ID_MAX` accordingly, so that the role
is treated consistently as a system entity.

Follow-up to #1205, #3084.

Closes #11848

NO_DOC=already in doc

(cherry picked from commit 309409e)
@TarantoolBot TarantoolBot requested a review from a team as a code owner September 25, 2025 12:34
@TarantoolBot TarantoolBot changed the title [Backport release/3.3] box: mark replication role as system [backport 3.3] box: mark replication role as system Sep 25, 2025
@github-actions
Copy link

Coverage Status

coverage: 87.544% (+0.02%) from 87.524%
when pulling 348f24a on backport/release/3.3/11852
into dc884cb
on release/3.3
.

@sergepetrenko sergepetrenko merged commit 70ac544 into release/3.3 Sep 26, 2025
24 checks passed
@sergepetrenko sergepetrenko deleted the backport/release/3.3/11852 branch September 26, 2025 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants