Identity and access: follow-ups from reviews
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 8/100
- Type d'issue
- Refactorisation
- Clarté
- À clarifier
- Activité
- Active
- Domaine
- authentication, backend
Piste de recherche
This is a tracking list, not one task: pick a single unchecked line before touching anything. The password-lockout items are anchored in MemberPasswordGuessTests, CmsSignInManager and MemberManager.ChangePasswordAsync; the consent items sit around the FCMS1609 catch and ServiceUnavailableException. Read the review of #3597 and #3594 first, and expect several of these to need a maintainer decision (the "stays counted" release note) before any code is right. Done means one line is closed with a test, not the whole list.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Findings of reviews in this area that do not block a merge: a race that needs requests in parallel on one row, a decision the specification still owes, a text, a test. They are kept here as one list and worked off together at the end of a milestone, instead of each as a bug of its own.
A finding becomes a type:bug issue only when it is a security hole, a loss or corruption of data, a wrong answer on an ordinary path, or shown by a failing test or a reproduction. Anything else from a review is added here, as a line or as a link to its issue.
Sorted from the open bugs on 23 Nov 2026.
- #3601
- #3600
- #3595
- #3570
From the review of #3597 (members' wrong passwords), all from reading:
- The member login page and the direct grant still check the password before they count it, so a burst of parallel wrong passwords is bounded by the
authrate limit, not by the lockout limit. Counting first means replacing Identity'sCheckPasswordSignInAsync. - The admin's sign-in may drop a count the same way:
CmsSignInManagerignores the result ofUserManager.AccessFailedAsync, andCmsUserManager.AccessFailedAsynchas no retry on that path. Not tested. -
MemberManager.ChangePasswordAsyncdoes not look atDeactivatedAtagain after a reload: a deactivation that lands between the read and a lost save no longer fails the change. Needs parallel requests, a valid token and the current password. - A right current password that takes the last place of the count leaves the member locked out when its second save never lands. The release note calls this "stays counted"; decide whether it is wanted.
-
MemberPasswordGuessTests:ARightPasswordThatLostItsSave…passes on the code before the fix, the save is lost in only one order of the two requests, and no test asserts that a lockout set by another request stays.
From #3594 (the end of an MCP consent), left by its decisions and its review:
- The catch that answers
FCMS1609wraps the whole delete transaction, so a refusal from the state's store or the event's write is answered the same; a deadlock raised by a read or a bulk delete is not aDbUpdateExceptionand stays a 500. Telling them apart needs a new provider member. - On SQL Server the revoke of the first step may deadlock with a refresh's token insert; as the victim it answers 500 with nothing revoked. From reading, not run.
- A lock of the consents that is not free within 45 seconds leaves no log line, and the 503 carries no
Retry-After.ServiceUnavailableExceptionis shared, so adding it changes every answer of that exception. - The bulk removal answers
{ removed, more }only: a client skipped for a foreign key refusal or a deadlock shows only as warning 9009, not as a named leftover. Naming them changes the contract. - Event 9013 carries the whole exception.
- No test counts the
user.sessions_endedrows across a 409 and the repeatedDELETE.
- Langage dominant
- C#
- Étoiles
- 567
- Forks
- 107
- Merge moyen
- 2 h 35 min
- PR mergées (30 j)
- 425
Préparer son environnement
- Fournit un Dockerfile ou un fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de fluentcms/FluentCMS
-
area:identity type:bug
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
Les mainteneurs répondent en général sous 1 jour
-
area:operations type:feature
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
Les mainteneurs répondent en général sous 1 jour
-
area:events area:jobs area:settings area:storage type:chore
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 18/100
Les mainteneurs répondent en général sous 1 jour
-
Admin: follow-ups from reviewsOuvertearea:admin type:chore
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 12/100
Les mainteneurs répondent en général sous 1 jour
-
Content: follow-ups from reviewsOuvertearea:content type:chore
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 12/100
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de fluentcms/FluentCMS
Issues similaires
-
Add `net10.0`Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
-
Wishlist Navigation Does Not Redirect to the User's Own Wishlist from a Shared Wishlist PageOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
nopSolutions/nopCommerce#8484 ·
Les mainteneurs répondent en général sous 4 jours
-
account effort:S P3 refactor
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
nightscout/nocturne#4119 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
dotnet-outdated/dotnet-outdated#871 ·
Les mainteneurs répondent en général sous 1 jour
-
triage/untriaged
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
unoplatform/uno#26676 ·
Les mainteneurs répondent en général sous 1 jour