Minor Changes
-
#4906
58d3d605510
Thanks @alicanerdurmaz! - feat: addedonUnauthorized
callback to<CanAccess />
component. This callback to be called whenuseCan
returns false.<CanAccess onUnauthorized={({ resource, reason, action, params }) => console.log( `You cannot access ${resource}-${params.id} resource with ${action} action because ${reason}`, ) } > <YourComponent /> </CanAccess>
Patch Changes
- #4926
053798ae52b
Thanks @salihozdemir! - fix: updateuseForm
warn condition