Page MenuHomePhorge

User RESTRICTED status
ClosedPublic

Authored by machniak on Feb 3 2023, 11:20 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 29, 7:33 PM
Unknown Object (File)
Sun, May 26, 9:32 PM
Unknown Object (File)
Wed, May 22, 5:28 AM
Unknown Object (File)
Tue, May 21, 11:26 PM
Unknown Object (File)
Mon, May 20, 7:29 AM
Unknown Object (File)
Mon, May 20, 1:28 AM
Unknown Object (File)
Sun, May 19, 9:11 AM
Unknown Object (File)
Mon, May 13, 2:08 PM
Subscribers
Restricted Project

Details

Reviewers
mollekopf
Group Reviewers
Restricted Project
Commits
rK43d8fa9d3c2a: User RESTRICTED status
Summary

Restricted flag for new users
Fix the user:resync test that was removing existing users
Display Restricted badge on user page for admins
Update Dusk, fix flaky test

Test Plan

./phpunit

Diff Detail

Repository
rK kolab
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

machniak created this revision.
  • Small improvement, removed debug code
mollekopf added inline comments.
src/app/Http/Controllers/API/SignupController.php
318

Why is this change required? Is it just unrelated cleanup?

src/app/Http/Controllers/API/SignupController.php
318

Yes, it's unrelated cleanup. That's the only place in the controllers where we set NEW status, so for consistency I removed it. The NEW status is being set by observers.

This revision is now accepted and ready to land.Feb 3 2023, 12:53 PM
This revision was automatically updated to reflect the committed changes.