Skip to content

Conversation

@eyeinsky
Copy link
Collaborator

@eyeinsky eyeinsky commented Oct 30, 2025

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines

@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Oct 30, 2025
@fisx fisx force-pushed the WPB-20053-scim-groups-create-2 branch from 749ed7b to b8db0dd Compare October 30, 2025 18:31
@blackheaven blackheaven force-pushed the WPB-20053-scim-groups-create-2 branch from 277dac2 to 638da63 Compare November 1, 2025 11:36
@eyeinsky eyeinsky force-pushed the WPB-20053-scim-groups-create-2 branch 3 times, most recently from 42d669b to 797766b Compare November 5, 2025 12:48
@eyeinsky eyeinsky force-pushed the ml/WPB-20054-scim-get-group branch 2 times, most recently from bf8958c to 15ff839 Compare November 7, 2025 13:55
@fisx fisx force-pushed the WPB-20053-scim-groups-create-2 branch 2 times, most recently from c5929df to 69310c6 Compare November 10, 2025 07:55
@eyeinsky eyeinsky force-pushed the ml/WPB-20054-scim-get-group branch 4 times, most recently from 479d19e to a81d162 Compare November 10, 2025 15:28
@fisx fisx changed the base branch from WPB-20053-scim-groups-create-2 to WPB-20053-scim-groups-create-3 November 10, 2025 16:16
@fisx fisx marked this pull request as ready for review November 11, 2025 08:20
@fisx fisx requested review from a team as code owners November 11, 2025 08:20
Base automatically changed from WPB-20053-scim-groups-create-3 to develop November 11, 2025 08:29
eyeinsky and others added 8 commits November 11, 2025 09:32
- add `newUserGroup` helper to skip repeating `mempty`
- in hscim.cabal, fix readme link and source-repository subdir
- undo changes to spar canonical interpreter
- add internal end-point to brig for getting user group
- use that in the ScimSubsystem via BrigAPIAccess
@fisx fisx force-pushed the ml/WPB-20054-scim-get-group branch from 0b04971 to e93e1a8 Compare November 11, 2025 08:32
CreateGroup creator newGroup -> createUserGroup creator newGroup
CreateGroupFull managedBy team mbCreator newGroup -> createUserGroupFullImpl managedBy team mbCreator newGroup
GetGroup getter gid includeChannels -> getUserGroup getter gid includeChannels
GetGroupUnsafe tid gid includeChannels -> getUserGroupUnsafe tid gid includeChannels
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to check, is the reason to call this unsafe because we don't know nor check if the group is part of the team?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think team membership is guaranteed because of the database schema, but GetGroup also does access control checks: who's asking, and which users are they allowed to see in the member list?

@eyeinsky
Copy link
Collaborator Author

Apparently, I can't approve it as I created this PR, nevertheless I approve! :)

@fisx fisx merged commit e5a3c09 into develop Nov 12, 2025
8 of 9 checks passed
@fisx fisx deleted the ml/WPB-20054-scim-get-group branch November 12, 2025 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants