You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have some kind of system to pass permissions from a server component to a client component.
For reference:
I've previously had a look at CASL, which has the concept of rule packing to pack rules in a server component, pass them to a client component and then unpack them for consumption.
The text was updated successfully, but these errors were encountered:
Currently we can use the RPC API Handler together with the check API to check for permissions in client components.
However this introduces additional server requests.
It would be nice to have some kind of system to pass permissions from a server component to a client component.
For reference:
I've previously had a look at CASL, which has the concept of rule packing to pack rules in a server component, pass them to a client component and then unpack them for consumption.
The text was updated successfully, but these errors were encountered: