Releases: mselerin/ngx-security
Releases · mselerin/ngx-security
ngx-security@3.3.0
ngx-security@3.2.0
ngx-security@3.1.0
ngx-security@3.0.0
3.0.0 (2021-11-08)
🐛 Bug Fixes
secuHasPermissions
is still called twice when used with a resource (629c92b)- force changes detection when the authorization change (5c62ace)
- when
secuHasPermissions
is used with a resource, the checker is called twice (61077a4)
🔧 Code Refactoring
NgxSecurityState
with only checker function (d5e1332)
🚀 Features
- removed
roles
,groups
andpermissions
fromNgxSecurityGuardOptions
and replace them withhasAllXxx
,hasAnyXxx
andhasNotXxx
(ef32f07)
🔥 BREAKING CHANGES
- type changes inside
NgxSecurityGuardOptions
- removed
authenticated
,roles
,groups
andpermissions
array fromNgxSecurityState
ngx-security@2.4.5
🐛 Bug Fixes
- when
secuHasPermissions
is used with a resource, the checker is called twice (775bbe6)
ngx-security@2.4.4
🐛 Bug Fixes
- use
take(1)
insidehandleStateChange
instead ofunsubscribe()
(704679f)
ngx-security@2.4.3
ngx-security@2.4.2
ngx-security@2.4.1
ngx-security@2.4.0
Features ⚡️
NgxSecurityState.permissionsChecker
andNgxSecurityService.hasPermission
accept a 2nd parameter of typeany
(eb878fe)