Commit graph

13 commits

Author SHA1 Message Date
Timothy Jaeryang Baek
7be750bcbb feat/enh: group share setting 2025-11-20 19:12:56 -05:00
Timothy Jaeryang Baek
0a72d047ef refac: group members frontend 2025-11-17 05:09:21 -05:00
google-labs-jules[bot]
30550d9190 Feat: Add warning for conflicting group permissions
This change introduces a visual warning in the group settings page. The warning appears when an admin attempts to disable a permission for a group that is already enabled in the default 'user' group. This is necessary because permissions are additive, and disabling a permission in a specific group will not revoke it if it's enabled in the default group.

To achieve this, the following changes were made:
- A new `PermissionSwitch.svelte` component was created to encapsulate the permission switch and its warning logic, avoiding redundant code.
- The `Groups.svelte` component was updated to correctly fetch the default user group's permissions.
- The `Permissions.svelte` component was refactored to use the new `PermissionSwitch.svelte` component, making the code cleaner and more maintainable.
2025-09-28 13:42:10 +00:00
Timothy Jaeryang Baek
eb10ff2ae6 refac: rm substandard code 2025-09-07 00:16:07 +04:00
Athanasios Oikonomou
c11f02662f fix: use prettier to format last commit 2025-08-13 09:36:18 +03:00
Athanasios Oikonomou
5543f30c49 feat: Allow navigating to user group from user edit
This commit allow navigating from user edit to user group, allowing faster updates to groups.
The querystringValue function was moved to lib/utils to reuse it in multiple places.
2025-08-12 01:08:56 +03:00
Timothy Jaeryang Baek
b1752cfb6a refac: styling 2025-07-14 21:24:31 +04:00
Timothy Jaeryang Baek
288fba874e refac: styling 2025-07-14 20:08:49 +04:00
Timothy Jaeryang Baek
a863f98c53 refac: toast error 2025-01-20 22:41:32 -08:00
Timothy Jaeryang Baek
02cafca584 refac 2024-11-18 09:00:51 -08:00
Timothy Jaeryang Baek
b80ec76435 refac 2024-11-14 20:51:49 -08:00
Timothy Jaeryang Baek
85d7f1c6ed refac 2024-11-14 03:16:26 -08:00
Timothy Jaeryang Baek
0e8c0b452e wip: frontend 2024-11-14 02:20:34 -08:00