Commit Graph
73 Commits
Author SHA1 Message Date
Joshen Lim b44d49b470 Remove enablePermissions flag 2022-12-06 10:53:02 +08:00
Alaister Young 1cc91a989e fix infinite sign in redirect loop 2022-10-26 16:47:54 +11:00
Alaister Young 772c9fb71b fix: read slug from url on org settings page 2022-10-21 20:14:45 +11:00
Joshen Lim f965e796a1 Remove FE logic for calculating PAYG costs and refactor/simplify PAYG usage stats 2022-10-18 11:12:40 +08:00
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 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
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
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 bf49944d85 Implement ABAC to reistrict reports 2022-08-26 13:11:25 +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
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 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
Joshen Lim 2bd30e937c style fix 2022-07-22 16:48:41 +08:00
Joshen Lim bb9a3787bc Fix build errors 2022-07-22 16:22:11 +08:00
Joshen Lim fed82591c3 Refactor org general settings to use new form component 2022-07-22 15:46:22 +08:00
Joshen Lim 1972670986 refactor invite user modal 2022-07-21 16:41:54 +08:00
Joshen Lim 3e7b110b5c Type things properly, fetch roles as hook, refactor settings page a bit more 2022-07-21 16:36:36 +08:00
Jonathan Summers-Muir 84815c8519 fix: issue with mutating members 2022-07-21 09:31:15 +08:00
Jonathan Summers-Muir 7a58e3e804 init: started adding in permissions into store, adding in dummy UI for selecting different roles in user table 2022-07-20 13:16:06 +08:00
Jonathan Summers-Muir ea2653b94a Merge branch 'master' into feat/abac 2022-07-19 11:02:11 +08:00
Inian 8f217deeb6 add prettier to studio (#7615) 2022-07-08 12:46:46 +08:00
Joshen Lim 6d5bf33d60 Merge branch 'master' of github.com:supabase/supabase into feat/unlimited-paused-projects 2022-06-29 12:44:17 +08:00
Terry Sutton 797bf8a5f6 Adds new total active and total paused projects fields from api 2022-06-28 09:01:36 -02:30
Terry Sutton a2dd852194 Adds new language around free project limit 2022-06-20 15:07:11 -02:30
Terry Sutton 64b488a7ce Adds Image component 2022-06-17 13:05:38 -02:30
Terry Sutton 37d9eedcf1 Rename members object 2022-06-17 06:47:29 -02:30
Joshen Lim 1dabce94a1 Linting + fix small logic error in useOrganization 2022-06-17 14:14:16 +08:00
Terry Sutton d72017b27a Sort the table via a first email character 2022-06-16 16:52:03 -02:30
Terry Sutton 07b23d4a37 Mutate members when adding or removing 2022-06-15 21:27:21 -02:30
Terry Sutton e103768f9b Merge invite data with existing member data 2022-06-14 09:35:16 -02:30
Terry Sutton d95d668c67 Adds a new join page 2022-06-10 16:53:40 -02:30
Terry Sutton 31f889734d Fixes calculation for total_egress_modified 2022-05-31 17:09:13 -02:30