-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[front] Give access to all groups for system key #9401
Conversation
|
@@ -129,10 +129,6 @@ export class GroupResource extends BaseResource<GroupModel> { | |||
if (key.isSystem) { | |||
whereCondition = { | |||
...whereCondition, | |||
[Op.or]: [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually not sure I understand the diff here can you explain a bit more?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm removing the constraint on kind, so that we get all groups of the workspace, not only system or global
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok I see that makes sense.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you fix/update the comment above 🙏
Description
This revert the previous quick fix ( granting document post for system key ) and instead grant all groups access to system key authenticator, not just only system and global groups. This allows system key to be able to read/write documents into any space.
Risk
Deploy Plan
deploy front