Page MenuHomePhabricator

[identity] implement privileged delete users RPC
ClosedPublic

Authored by varun on Mon, Oct 7, 8:03 PM.

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.Mon, Oct 7, 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.Tue, Oct 8, 12:54 AM