Commit Graph
160 Commits
Author SHA1 Message Date
Joshen Lim f965e796a1 Remove FE logic for calculating PAYG costs and refactor/simplify PAYG usage stats 2022-10-18 11:12:40 +08:00
Terry Sutton 3e04442c8d Merge pull request #8112 from supabase/chore/show-upgrade-prompt-in-logs-explorer
Chore/show upgrade prompt in logs explorer
2022-10-12 10:37:35 -02:30
TzeYiing e15dbd9fa1 fix: improve test logic and show upgrade modal logic, update upgrade copy 2022-10-12 13:42:18 +08:00
Terry Sutton 520e8c1144 Move upgrade prompt out to own component 2022-10-11 13:34:50 -02:30
Joshen Lim 4214b31e3c Update warning for downgrading a project when already exceeding limits 2022-10-11 16:33:30 +08:00
Joshen Lim bd46603fce Update the warning message for exceeding free project limit based on updated logic from api on multiple owners and admin 2022-10-11 16:33:30 +08:00
Terry Sutton 9ef4565821 Cleanup 2022-10-06 21:15:05 -02:30
Terry Sutton db5c40d61e Merge branch 'master' into chore/show-upgrade-prompt-in-logs-explorer 2022-10-06 16:35:14 -02:30
Alaister Young f512f38311 fix: interpolate refs on links only when they exist 2022-10-05 18:27:30 +08:00
Alaister Young d4967a84ea chore: reuse MetaStores instead of recreating on projectRef change 2022-10-04 14:34:26 +08:00
Terry Sutton e9fdf8c0db Merge pull request #8988 from supabase/fix/self-hosted-permissions-checks
Fix/self hosted permissions checks
2022-09-30 11:50:07 -02:30
Terry Sutton c19a6aecc3 Merge branch 'master' into chore/show-upgrade-prompt-in-logs-explorer 2022-09-23 10:45:00 -02:30
TzeYiing 4489b73c6d fix: LogsPreviewer filter clear button values should not persist old values 2022-09-20 16:05:29 +08:00
Terry Sutton 9c39c85441 Don't run permissions check in self-hosted env 2022-09-15 10:14:07 -02:30
Joshen Lim bbafed9e12 Ensure that permissions are fetched properly for a new user, and avoid making unnecessary call to fetch permissions if profile is not available 2022-09-12 10:04:15 +08:00
Joshen Lim 7cb722dff0 Small refactor in Access token and add guard in useAccessToken hook 2022-09-12 10:04:15 +08:00
Terry Sutton 7c0d6c5e82 Fix undefined tier 2022-09-01 09:06:56 -02:30
Joshen Lim 172f604389 Update based on new API structure for usage 2022-09-01 14:05:52 +08:00
Joshen Lim 3a7d8d9fd4 Pull master and resolve conflicts 2022-09-01 12:27:45 +08:00
Terry Sutton 8234e802ea Update param and test 2022-08-31 15:48:52 -02:30
Terry Sutton 10d2c96dac Replace component with hook 2022-08-30 17:14:57 -02:30
Joshen Lim e2670278bf Pull master and resolve conflicts 2022-08-29 18:31:04 +08:00
Beng Eu f380a9461a fix: match full string instead of substring for checkPermissions() 2022-08-29 18:14:34 +08:00
Joshen Lim c2e32cfb9b Fix more consistent error handling in project API settings page 2022-08-29 14:37:02 +08:00
Joshen Lim 62b0a2e741 Add no perms state for if role has no read access to an org's projects 2022-08-26 16:42:24 +08:00
Joshen Lim fa4cb518a3 remove console log 2022-08-26 13:11:25 +08:00
Joshen Lim f3221a3b60 Refactor TabSqlQuery into its own TS component and implement ABAC for SQL editor create, update, delete 2022-08-26 13:11:25 +08:00
Joshen Lim bf49944d85 Implement ABAC to reistrict reports 2022-08-26 13:11:25 +08:00
TzeYiing f115a6e53a feat: initial overview preset report 2022-08-25 02:56:15 +08:00
TzeYiing b4c5c0f099 feat: Improved log event chart, timestamp conflict fixes, use iso timestamp only 2022-08-24 15:20:42 +08:00
Joshen Lim 559742f44a Update and refactor a couple for files to pre-emptively support new structure from /usage endpoint 2022-08-10 15:31:55 +08:00
TzeYiing 6780907b4f fix: add in timestamp filtering for single log filtering 2022-08-09 15:29:43 +08:00
Joshen Lim a061b22b4f First iteration 2022-08-05 12:33:36 +08:00
Joshen Lim 8be5f87e0c Fix pitr button not firign 2022-08-04 12:02:50 +08:00
Joshen Lim e9fa1763cb Ensure backwards compatability for transfering ownership 2022-08-01 14:36:04 +08:00
Joshen Lim bd90ebd205 Small update to checkPermissiosn method to support infra:execute 2022-08-01 12:11:46 +08:00
Joshen Lim dd61c4456c Implement ABAC for roles management for members 2022-08-01 12:11:46 +08:00
Joshen Lim 4be52d9c85 Add ABAC for organization billing page 2022-08-01 12:11:46 +08:00
Joshen Lim 61bb30a1b4 Remove unused imports 2022-07-27 15:10:38 +08:00
Joshen Lim db2eab934d Revert is owner check 2022-07-27 15:08:50 +08:00
Joshen Lim da00cee16b Fix prop error 2022-07-27 14:49:28 +08:00
Joshen Lim e14c9885b7 add early return for checkisowner 2022-07-27 14:33:55 +08:00
Joshen Lim 3270551167 Ensure that is_owner checks are correct 2022-07-27 14:27:24 +08:00
Joshen Lim 31077670d0 Merge branch 'master' of github.com:supabase/supabase into feat/abac-scaffold-ui 2022-07-27 12:16:29 +08:00
TzeYiing 9232ae4dfd chore: fix failing tests 2022-07-26 10:51:10 +08:00
TzeYiing fdad1187a0 chore: fixed a test 2022-07-26 10:51:10 +08:00
TzeYiing fa2c951373 feat: add changes to the render, functions ui fixes, prevent stale data refresh for single logs 2022-07-26 10:51:10 +08:00
TzeYiing 37d6a6a199 fix: delayed metadata loading only on log focus 2022-07-26 10:51:10 +08:00
Joshen Lim 58c0ba1ddf Added fallback behaviours for if enablePermissions is off 2022-07-25 23:50:12 +08:00
Joshen Lim f916da6e77 Temp lock roles management UI in dashboard and default all invited members to organizations as Developer role 2022-07-25 22:26:05 +08:00