Releases: nextdeveloper-nl/iam
Releases · nextdeveloper-nl/iam
Release list
v2.0.8
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
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.
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
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