Page MenuHomePhorge

User RESTRICTED status
ClosedPublic

Authored by machniak on Feb 3 2023, 11:20 AM.
Tags
None
Referenced Files
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
Unknown Object (File)
Mon, May 6, 5:41 PM
Unknown Object (File)
Mon, May 6, 4:52 AM
Unknown Object (File)
Tue, Apr 30, 1:01 PM
Unknown Object (File)
Sun, Apr 21, 5:06 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
Branch
dev/status-restricted
Lint
Lint Skipped
Unit
No Test Coverage
Build Status
Buildable 41500
Build 16636: arc lint + arc unit

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.