Skip to content

Commit fb4357b

Browse files
committed
Remove workaround for ra-supabase
1 parent 1a5c089 commit fb4357b

File tree

3 files changed

+14
-19
lines changed

3 files changed

+14
-19
lines changed

package-lock.json

Lines changed: 13 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"papaparse": "^5.4.1",
2727
"prop-types": "^15.8.1",
2828
"ra-data-fakerest": "^5.3.0",
29-
"ra-supabase": "^3.2.0",
29+
"ra-supabase": "^3.2.1",
3030
"react": "^18.2.0",
3131
"react-admin": "^5.3.0",
3232
"react-cropper": "^2.3.3",

src/providers/supabase/authProvider.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ const baseAuthProvider = supabaseAuthProvider(supabase, {
1818
};
1919
},
2020
});
21-
// FIXME: The default implementation of getPermissions in ra-supabase will throw when the user is not authenticated,
22-
// which is an issue for our signup page.
23-
// To be removed when https://github.com/marmelab/ra-supabase/pull/79 is merged and released.
24-
delete baseAuthProvider.getPermissions;
2521

2622
export async function getIsInitialized() {
2723
if (getIsInitialized._is_initialized_cache == null) {

0 commit comments

Comments
 (0)