Vince
BABetter Auth
•Created by Vince on 3/8/2025 in #bug-reports
organization.update does not error on missing permissions
The role check seems to work because the updates are not actually committed but the response indicates success when it should instead error because of missing permissions.
will return
which is expected and correct
will return
{data: null, error: null}
which is wrong. It should error instead.
It also takes the onSuccess
path in the fetch options.
This makes it difficult to properly manage feedback to the user
This is a slimmed down version of my custom access control & roles:
And this is a slimmed down version of the server config:
3 replies