Commit Graph

61 Commits

Author SHA1 Message Date
Joshen Lim
c61e555bff Fix abac implementation for auth users remove 2022-08-23 17:10:41 +08:00
Joshen Lim
9e84d42c38 Implement ABAC to restrict management of project users 2022-08-23 16:32:16 +08:00
Joshen Lim
dc48dd3da7 Add tooltips to using and with check expression in policy editor modal 2022-08-22 12:45:01 +08:00
Joshen Lim
bb3b98f2dd Ignore semver conditional for self-hosted set up 2022-08-16 16:23:41 +08:00
Joshen Lim
cfb986fc8e Show the number of active policies in table editor and link directly to the table in the auth policies page 2022-08-15 11:04:52 +08:00
Joshen Lim
37a5f590cf Add link to table from policies page 2022-08-15 11:04:52 +08:00
Joshen Lim
dab7b75ed1 Update Storage to show corrupted files or files that are still uploading based on if metadata is missing and the created_at timestamp 2022-08-15 11:04:52 +08:00
Joshen Lim
ecf6b504f2 Update policy page to show applied roles instead of using/check statemnet 2022-08-15 11:04:52 +08:00
Joshen Lim
96cb64de7d Refactor auth invite user modal to use Form component 2022-08-11 16:18:59 +08:00
Joshen Lim
a0ba29bd3b Update ABAC naming for resource and actions 2022-08-10 15:57:23 +08:00
Francisco Mazzoni
5db6220dc9 add outside interaction control to radix dialog based ui 2022-08-09 10:23:44 -03:00
Joshen Lim
b10aed8f2f Remove checking of permissions for places which are not in scope 2022-07-26 00:35:12 +08:00
Joshen Lim
bb9a3787bc Fix build errors 2022-07-22 16:22:11 +08:00
Joshen Lim
216d62bc9d Refactor org settings page into smaller components 2022-07-21 13:19:21 +08:00
Joshen Lim
098da5a268 Pull master and resolve conflicts 2022-07-21 11:42:01 +08:00
Jonathan Summers-Muir
ea2653b94a Merge branch 'master' into feat/abac 2022-07-19 11:02:11 +08:00
Isaiah Hamilton
5aa161f39a chore: add truncate 2022-07-18 18:45:23 -04:00
Terry Sutton
c740311a8f Removes console logs 2022-07-04 12:49:42 +08:00
Joshen Lim
1596912580 Fix policy editor from wrongly comparing undefined and null for definition and check 2022-07-04 12:49:42 +08:00
Terry Sutton
410564b1e7 Merge branch 'master' into feat/invite-external-users 2022-06-21 21:35:11 -02:30
Joshen Lim
bfa5a986e3 Make error toasts not auto dismiss by default 2022-06-21 10:40:38 +08:00
Terry Sutton
0d88605363 Merge branch 'master' into feat/invite-external-users 2022-06-16 09:04:06 -02:30
Joshen Lim
0bf4662bb6 Fix policy editor role input field not showing palceholder if existing policies have only public role 2022-06-16 14:51:14 +08:00
Terry Sutton
02c56f3d48 Merge branch 'master' into feat/invite-external-users 2022-06-14 09:36:22 -02:30
Terry Sutton
6c19287a42 Merge branch 'master' into feat/invite-external-users 2022-06-08 10:59:29 -02:30
Nick Rayburn
0a0cdc16a5 Merge remote-tracking branch 'upstream/master' into fix/type-cleanup
# Conflicts:
#	studio/components/interfaces/Database/Triggers/ChooseFunctionForm.tsx
#	studio/components/interfaces/Home/ProjectUsage.tsx
#	studio/components/ui/Usage.tsx
#	studio/pages/project/[ref]/auth/settings.tsx
2022-06-02 22:06:03 -05:00
Copple
7fd9790c11 Update studio/components/interfaces/Authentication/Policies/PolicyEditorModal/PolicyEditorModal.constants.ts 2022-06-02 20:53:39 +10:00
Luke Bechtel
e392a09ae5 Change name of "read access to everyone" policy to be more accurate. 2022-05-31 13:45:58 -04:00
Beng Eu
2e4cc9c2e9 feat: add permissions to routes and support adding and removing roles 2022-05-27 18:39:41 +08:00
Nick Rayburn
a0c13251d1 Merge remote-tracking branch 'upstream/master' into fix/type-cleanup
# Conflicts:
#	studio/components/interfaces/Database/Pooling/BouncerSettings.tsx
#	studio/pages/project/[ref]/settings/billing/index.tsx
2022-05-24 19:57:37 -05:00
phamhieu
8a9b46250a refactor: auth policies page
- remove mobx local store
- filter table policies from meta.policies
- clean up
2022-05-23 18:08:24 +08:00
phamhieu
2a107b2d0c fix: iso string format 2022-05-20 15:17:36 +07:00
phamhieu
899b70dbc1 fix: safari date parsing using dayjs CustomParseFormat 2022-05-18 20:14:20 +07:00
phamhieu
415bd9989c fix: handle undefined dateString 2022-05-18 20:14:20 +07:00
Terry Sutton
ecfa2d2f46 Move to .tsx 2022-05-16 15:12:55 -02:30
Nick Rayburn
f0bf08d517 Update SqlEditor types and move file 2022-05-14 15:00:21 -05:00
Nick Rayburn
85241a401b Update Panel types and move file 2022-05-14 15:00:21 -05:00
Joshen Lim
96ece6b4f8 Refactor 2022-05-13 15:19:15 +08:00
Joshen Lim
d5b71185b3 Add formatter helper for date time for safari browser and fix auth pages 2022-05-13 15:19:15 +08:00
Joshen Lim
b91c2bd29d Fix broken import 2022-05-12 16:14:36 +08:00
Joshen Lim
f7bcf54da8 Add more types 2022-05-12 16:14:36 +08:00
Joshen Lim
f83a2128de Added types and refactor PolicyAllowedOPeration 2022-05-12 16:14:36 +08:00
Joshen Lim
91e838ff9d UI clean up and ensure formatting of SQL in policy review is formatted nicely 2022-05-12 16:14:36 +08:00
Joshen Lim
f6c6b90dbd Midway ensuring that update policy editor works for storage policy editor as well 2022-05-12 16:14:36 +08:00
Joshen Lim
d9ed41fe6d Refactor placement of POLICY_MODAL_VIEWS const and update auth policy templates to use updated usage of auth roles 2022-05-12 16:14:36 +08:00
Joshen Lim
0ec719aca6 Hook up roles update functionality and refactor update policy editor description 2022-05-12 16:14:36 +08:00
Joshen Lim
6b17743a84 Refactor MultiSelect component and implement UI logic for auth policy editor roles 2022-05-12 16:14:36 +08:00
Joshen Lim
9f0f35ba06 refactor: convert auth policy components into typescript 2022-05-12 16:14:36 +08:00
Joshen Lim
ca43fcad63 Misc ui fixes 2022-03-01 13:58:55 +08:00
Jonathan Summers-Muir
5b6890496c chore: update Member invite to be more accessible
• had to remove the text search popover as it wasn't using a correct react portal popover. Also not keyboard accessible.
2022-03-01 13:58:55 +08:00