Page MenuHomePhabricator

[identity] implement privileged delete users RPC
ClosedPublic

Authored by varun on Mon, Oct 7, 8:03 PM.
Tags
None
Referenced Files
F2925645: D13630.id44960.diff
Tue, Oct 8, 8:25 AM
F2925557: D13630.id44964.diff
Tue, Oct 8, 8:11 AM
F2925490: D13630.diff
Tue, Oct 8, 7:57 AM
F2925465: D13630.id.diff
Tue, Oct 8, 7:45 AM
F2925437: D13630.diff
Tue, Oct 8, 7:20 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
Lint Not Applicable
Unit
Tests Not Applicable

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 ↗(On Diff #44960)

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