Decides the Storage view's mode from role, privilege and plan.
Rule (backend handoff P7-B04): a plan with totalVideoStorage > 0 shows the
shared meter to everyone; only the owner holding writeCloudStorage gets
"manage" (may delete all). Coaches, athletes and an owner without the key
get "readOnly". A plan without storage gives "notInPlanOwner" for the
owner and "notInPlanMember" for everyone else.
Decides the Storage view's mode from role, privilege and plan.
Rule (backend handoff P7-B04): a plan with
totalVideoStorage > 0shows the shared meter to everyone; only the owner holdingwriteCloudStoragegets"manage"(may delete all). Coaches, athletes and an owner without the key get"readOnly". A plan without storage gives"notInPlanOwner"for the owner and"notInPlanMember"for everyone else.