Skip to content

Releases

@anievo-id/rbac-evolution@1.7.0

Choose a tag to compare

@rbac-evolution-release-bot rbac-evolution-release-bot released this 19 Nov 14:41
1fb2d22

No changes in this release.

@anievo-id/rbac-evolution@1.6.0

Choose a tag to compare

@rbac-evolution-release-bot rbac-evolution-release-bot released this 19 Nov 09:31
c5b4d52

No changes in this release.

@anievo-id/rbac-evolution@1.5.0

Choose a tag to compare

@rbac-evolution-release-bot rbac-evolution-release-bot released this 19 Nov 07:06
34f1f2b

Minor Changes

  • 72e73a6: Add rbac.subjectsWithoutRole(type, roles, { among }) and rbac.subjectsWithoutPermission(type, permissions, { among }), the equivalents of spatie's User::withoutRole() and User::withoutPermission(). They return the ids of among that have none of the given roles or permissions, in the order of among, with the same scope (guard, team), options (expandWildcards) and errors as subjectsWithRole() / subjectsWithPermission(). Expired assignments don't count. No adapter changes: every adapter supports them.

@anievo-id/rbac-evolution-vue@1.7.0

Choose a tag to compare

@rbac-evolution-release-bot rbac-evolution-release-bot released this 19 Nov 14:42
1fb2d22

Patch Changes

  • @anievo-id/rbac-evolution@1.7.0

@anievo-id/rbac-evolution-vue@1.6.0

Choose a tag to compare

@rbac-evolution-release-bot rbac-evolution-release-bot released this 19 Nov 09:32
c5b4d52

Patch Changes

  • @anievo-id/rbac-evolution@1.6.0

@anievo-id/rbac-evolution-vue@1.5.0

Choose a tag to compare

@rbac-evolution-release-bot rbac-evolution-release-bot released this 19 Nov 07:07
34f1f2b

Patch Changes

  • Updated dependencies [72e73a6]
    • @anievo-id/rbac-evolution@1.5.0

@anievo-id/rbac-evolution-typeorm@1.7.0

Choose a tag to compare

@rbac-evolution-release-bot rbac-evolution-release-bot released this 19 Nov 14:42
1fb2d22

Patch Changes

  • @anievo-id/rbac-evolution@1.7.0
    • @anievo-id/rbac-evolution-kysely@1.7.0

@anievo-id/rbac-evolution-typeorm@1.6.0

Choose a tag to compare

@rbac-evolution-release-bot rbac-evolution-release-bot released this 19 Nov 09:32
c5b4d52

Minor Changes

  • 78c216a: New package @anievo-id/rbac-evolution-typeorm: typeormAdapter(dataSource) stores roles and permissions through a TypeORM 0.3.20+ or 1.x DataSource, on PostgreSQL, MySQL / MariaDB, SQLite and SQL Server. Pass the EntityManager of dataSource.transaction() to run inside that transaction. rbacMigration() and rbacExpiryMigration() are TypeORM migration classes that create the five tables (the same as the Kysely, Drizzle and Prisma adapters) and add the expiry columns. Under the hood it is the Kysely adapter, running its queries through TypeORM's query runners.

Patch Changes

  • @anievo-id/rbac-evolution@1.6.0
    • @anievo-id/rbac-evolution-kysely@1.6.0

@anievo-id/rbac-evolution-trpc@1.7.0

Choose a tag to compare

@rbac-evolution-release-bot rbac-evolution-release-bot released this 19 Nov 14:42
1fb2d22

Patch Changes

  • @anievo-id/rbac-evolution@1.7.0

@anievo-id/rbac-evolution-trpc@1.6.0

Choose a tag to compare

@rbac-evolution-release-bot rbac-evolution-release-bot released this 19 Nov 09:32
c5b4d52

Patch Changes

  • @anievo-id/rbac-evolution@1.6.0