You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Users in timeout can still start orgs through the API #972
Someone in timeout is meant to be unable to post anywhere: PreventPostingInTimeout says "nothing they post goes through until it is over, however they post it".
The web route POST /remotes/orgs (org.store) has that middleware, and UserTimeoutControllerTest checks that a user in timeout cannot start an org named "buy my course". Its signed API twin POST /api/v1/remotes/orgs (api-org.store, routes/api.php) does not, and neither CreateApiOrgRequest nor CreateOrg checks for a timeout.
So a user in timeout with an approved device can still create orgs. The org name (up to 60 characters) lands in every added member's inbox as the "created" event. Sending messages in the org is still blocked.
Expected: the API refuses with timed_out (403), as it does for the API commit and message routes.
Activity