In the docs it states that you can access the current entity in the permissionsBuilder.
This seems outdated according to the types.d definitions. Docs says that you the permissionsBuilder is called with following properties:
But what can be done do make permissions dependent on properties on and entity in v. 2.2.0?
E.g. if you want do disable create, depending on an entity prop?
In the docs it states that you can access the current entity in the permissionsBuilder. This seems outdated according to the types.d definitions. Docs says that you the permissionsBuilder is called with following properties:
But types says its called with:
Which seems to be right.
But what can be done do make permissions dependent on properties on and entity in v. 2.2.0? E.g. if you want do disable create, depending on an entity prop?