Page MenuHomePhabricator

[identity] add helper functions for validating add/remove username messages
ClosedPublic

Authored by varun on Jun 16 2023, 12:38 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 24, 9:00 AM
Unknown Object (File)
Wed, Apr 24, 9:00 AM
Unknown Object (File)
Wed, Apr 24, 8:59 AM
Unknown Object (File)
Wed, Apr 24, 8:56 AM
Unknown Object (File)
Feb 27 2024, 1:42 AM
Unknown Object (File)
Feb 27 2024, 1:42 AM
Unknown Object (File)
Feb 27 2024, 1:42 AM
Unknown Object (File)
Feb 27 2024, 1:40 AM
Subscribers

Details

Summary

validate the message and return the username to be added/removed

Depends on D8232

Test Plan

tested in subsequent diff where helper functions are called

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

varun requested review of this revision.Jun 16 2023, 1:00 AM
bartek added inline comments.
services/identity/src/reserved_users.rs
78 ↗(On Diff #27819)

The compiler will likely do it anyway, but we could possibly mark these as #[inline]

This revision is now accepted and ready to land.Jun 16 2023, 5:37 AM
services/identity/src/reserved_users.rs
78 ↗(On Diff #27819)

yeah i think the compiler will do it