accessByUserId
accessByUserId(): (
constructor) =>void
Grants access to a resource for a user if their userId matches the resource's userId property. When applied, any user whose id matches the resource's userId will have access to all CRUD actions for this resource.
Sets {@link ResourceMeta.accessByUserId}.
Returns
(
constructor):void
Parameters
[constructor](function Object() { [native code] })
Constructor<unknown>
Returns
void