Page MenuHomePhabricator

[identity] implement privileged delete users RPC
ClosedPublic

Authored by varun on Oct 7 2024, 8:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 18 2024, 8:00 AM
Unknown Object (File)
Nov 11 2024, 10:05 PM
Unknown Object (File)
Nov 9 2024, 3:55 AM
Unknown Object (File)
Nov 9 2024, 2:22 AM
Unknown Object (File)
Oct 31 2024, 3:20 AM
Unknown Object (File)
Oct 31 2024, 12:38 AM
Unknown Object (File)
Oct 28 2024, 4:46 PM
Unknown Object (File)
Oct 27 2024, 11:52 AM
Subscribers

Details

Summary

check if caller is staff. if they are, then delete the users whose IDs are provided in the request

Depends on D13629

Test Plan

tested in next diff by calling RPC

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

varun requested review of this revision.Oct 7 2024, 8:20 PM
bartek added inline comments.
services/identity/src/grpc_services/authenticated.rs
630

In the future we might want to extract it or make readable from some JSON file or sth, but for now let's leave it as is 👍

This revision is now accepted and ready to land.Oct 8 2024, 12:54 AM