Skip to content

Releases: nextdeveloper-nl/iam

v2.0.8

Choose a tag to compare

@yakari007 yakari007 released this 07 Jul 10:52
1ccd8aa

Added

  • UserHelper::withRolesCheckBypassed(callable $callback) — bypasses role/policy checks for the duration of a callback without switching the current user/account identity. Unlike runAsAdmin(), which swaps identity (corrupting iam_user_id/iam_account_id attribution), and bypassRolesCheck(false), which is a no-op due to its truthy check.

Used by nextdeveloper-nl/s3 >= v1.1.28 to fix audit-log writes throwing NotAllowedException for s3-user/s3-manager roles.

feat: implement same-domain join functionality for accounts

Choose a tag to compare

@ikhalilatteib ikhalilatteib released this 05 Jul 18:13
2f40345

feat: implement same-domain join functionality for accounts

currentAccount() short-circuits on the cached self::$account, ignoring the passed $user. getLeoOwnerAccount() now queries AccountUsers directly for the leo owner, bypassing the cache so runAsAdmin always switches to the correct admin account context.

@yakari007 yakari007 released this 03 Jun 10:37
905060c

currentAccount() short-circuits on the cached self::$account, ignoring the passed $user. getLeoOwnerAccount() now queries AccountUsers directly for the leo owner, bypassing the cache so runAsAdmin always switches to the correct admin account context.

Summary assignDefaultRoles() iterates over config('leo.register.default_roles') which can return null when the key is not configured, causing a fatal foreach error Added an early return when $defaultRoles is null/empty

@yakari007 yakari007 released this 25 May 15:11
3d2451b

Summary

assignDefaultRoles() iterates over config('leo.register.default_roles') which can return null when the key is not configured, causing a fatal foreach error
Added an early return when $defaultRoles is null/empty

Move leo_owner_email config to iam.php and update getLeoOwner reference

Choose a tag to compare

@yakari007 yakari007 released this 13 May 12:48
d00ac19

Fix getUsersWithRole account filter using iam_account_user join table

Choose a tag to compare

@yakari007 yakari007 released this 10 May 13:25
0567c1b

Get leo account is updated

Choose a tag to compare

@yakari007 yakari007 released this 08 May 18:04
7b502c6

Security update made

Choose a tag to compare

@yakari007 yakari007 released this 08 May 17:45
a433918

Exception module name added for flow module @yakari007

Choose a tag to compare

@yakari007 yakari007 released this 05 May 07:56
0340c3a

Authorize updated

Choose a tag to compare

@yakari007 yakari007 released this 30 Apr 18:41
22df082