Repository navigation
fix: only enable again the users disabled for billing - #38
Merged
vitormattos merged 1 commit intoNov 14, 2026
Merged
vitormattos merged 1 commit into
vitormattos merged 1 commit into
Conversation
Signed-off-by: YvesCesar <yvesamorim73@gmail.com>
YvesCesar
force-pushed
the
fix/record-wordpress-login-link
branch
from
November 14, 2026 15:20
ace3dd2 to
7c1fa32
Compare
YvesCesar
force-pushed
the
fix/reenable-only-billing-disabled-users
branch
from
November 14, 2026 15:20
e4d2148 to
7900796
Compare
vitormattos
merged commit Nov 14, 2026
33115ca
into
fix/record-wordpress-login-link
25 of 33 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Depends on #37.
Purpose
users-of-group/set-enabledwithenabled=1, and every new call toadmin-groupfor an existing group (renewal, plan change), enabled all the members of the group. Users disabled on purpose by the group admin, such as people who left the company, got their access back on the next billing event.Changes
set-enabledwithenabled=0marks each user it disables with the user preferenceadmin_group_manager/disabled_by_billing. Users already disabled are left unmarked.set-enabledwithenabled=1and the re-provisioning path ofadmin-grouponly enable users that carry the mark, and remove it.Verification
composer run openapipass locally.admin-groupand afterset-enabledwithenabled=1;set-enabledwithenabled=0is enabled again byenabled=1, and the mark is removed.