Commit Graph
114 Commits
Author SHA1 Message Date
Joshen Lim be0b8c3269 Styling issues 2022-08-23 16:56:27 +08:00
Joshen Lim 76bed6ee58 Pass role id when resending invites 2022-08-23 11:29:54 +08:00
Joshen Lim 52a21310b6 Update checking of permissions for org billing address and tax ids 2022-08-16 16:23:41 +08:00
Joshen Lim bfdac3ebb4 Ensure that form fields refresh when switching orgs on org settings pagee 2022-08-15 11:04:52 +08:00
Joshen Lim 0533677eac Fix contrast issues in table component header 2022-08-12 13:54:16 +08:00
Joshen Lim 4c1eac449c Have header rows in bold for role perms helper modal 2022-08-12 01:49:26 +08:00
Joshen Lim b6d2ebbea7 Hide modal tooltip behind feature flag 2022-08-12 01:49:26 +08:00
Joshen Lim e3247a520a Clean up 2022-08-12 01:49:26 +08:00
Joshen Lim 7701549763 Add a helper modal to explain roles and permissions 2022-08-12 01:49:26 +08:00
Joshen Lim d1d41157bb Add resource to checking permissions for revoking and resending user invites 2022-08-12 01:49:26 +08:00
Joshen Lim ec6085b8f8 Small fix for being able to select the role which the user is already a role of 2022-08-11 16:18:59 +08:00
Joshen Lim 97cc257c73 Fix logic for showing tooltip in MembersView 2022-08-11 16:18:59 +08:00
Joshen Lim 930a09fbbf Resolve comments 2022-08-10 15:57:23 +08:00
Joshen Lim a0ba29bd3b Update ABAC naming for resource and actions 2022-08-10 15:57:23 +08:00
Joshen Lim 2e77e8709a Fix deleting of members 2022-08-03 12:22:17 +08:00
Joshen Lim 7bb86b0192 Fix revoke/resend invitation 2022-08-02 17:54:48 +08:00
Joshen Lim e9fa1763cb Ensure backwards compatability for transfering ownership 2022-08-01 14:36:04 +08:00
Joshen Lim 912cb0cf3a Fix wrong error message 2022-08-01 12:11:46 +08:00
Joshen Lim 975ef47564 Update wording 2022-08-01 12:11:46 +08:00
Joshen Lim ae6981637a Update wording 2022-08-01 12:11:46 +08:00
Joshen Lim fb72e1a583 Fix prop errors 2022-08-01 12:11:46 +08:00
Joshen Lim 0c82f4dda6 Update wording 2022-08-01 12:11:46 +08:00
Joshen Lim 95506298e3 Fix hook issue in getRolesManagementPermissions 2022-08-01 12:11:46 +08:00
Joshen Lim c6c0cdafe5 Fix logic for getRolesManagementPermission 2022-08-01 12:11:46 +08:00
Joshen Lim ee3e598423 Implement ABAC in greater granularity for roles management in org team members 2022-08-01 12:11:46 +08:00
Joshen Lim 18fcc1d1ec Implement fallback solution for ABAC in roles management if feature flag is off 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 db2eab934d Revert is owner check 2022-07-27 15:08:50 +08:00
Joshen Lim 4a1ca055b4 Fix spelling 2022-07-27 14:50:23 +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 2213ebe414 Disable listbox for roles if no permissions and add additioanl checking for delete organization permissions 2022-07-25 12:32:34 +08:00
Joshen Lim e6007929e3 Refactor and implement ABAC for project settings page 2022-07-25 11:30:32 +08:00
Joshen Lim 52947392ca Update permission checking for creating a project 2022-07-22 17:11:17 +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 738dcb6e37 Small fixes to components in org settings + left some todos to follow up with 2022-07-22 12:34:51 +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
Joshen Lim eead6a51c8 Fix invited logic 2022-07-21 13:26:30 +08:00
Joshen Lim 2cd2efd3f6 Fix invited logic 2022-07-21 13:26:06 +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 cdeb3a7255 Update InviteMemberModal.tsx 2022-07-21 10:48:09 +08:00
Jonathan Summers-Muir 2a3a991523 chore: update invite modal 2022-07-21 10:43:49 +08:00