Remove legacy rbac

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2025-12-23 14:42:05 +01:00
parent 799bf6a0ec
commit b7471c97f8
6 changed files with 143 additions and 138 deletions

View File

@@ -5888,7 +5888,7 @@ func (r *queryResolver) Node(ctx context.Context, id gid.GID) (types.Node, error
return types.NewControl(control), nil
}
case coredata.RiskEntityType:
action = probo.ActionRiskList
action = probo.ActionRiskGet
loadNode = func(ctx context.Context, id gid.GID) (types.Node, error) {
risk, err := prb.Risks.Get(ctx, id)
if err != nil {