1
0
Fork 0
mirror of synced 2024-07-14 02:36:22 +12:00

Update role bindings to use Role prefix rather than Roles

This commit is contained in:
Andrew Kingston 2022-04-06 08:22:10 +01:00
parent c980801579
commit e5678d9b27

View file

@ -402,7 +402,7 @@ const getRoleBindings = () => {
return { return {
type: "context", type: "context",
runtimeBinding: `trim "${role._id}"`, runtimeBinding: `trim "${role._id}"`,
readableBinding: `Roles.${role.name}`, readableBinding: `Role.${role.name}`,
} }
}) })
} }