Revert "chore: 🤖 bump ember-can (#3093)" (#3107)

This reverts commit b5d33948dc.
This commit is contained in:
hashicc authored and GitHub committed 2025-12-08 18:20:55 -05:00
1 parent 9204c63b17
commit f1ffb80b80
107 files changed
+435 -542

No files matched your search

+2 -2
View File
@@ -16,7 +16,7 @@ class InvalidRolePrincipalTypeError extends Error {
export default class RoleAbility extends ModelAbility {
// =services
@service abilities;
@service can;
// =permissions
@@ -64,6 +64,6 @@ export default class RoleAbility extends ModelAbility {
`Expected a role principal of type 'user', 'group', or 'managed-group'. Got '${type}'.`,
);
}
return this.abilities.can(`read ${type}`, this.model);
return this.can.can(`read ${type}`, this.model);
}
}