Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
[workspace]feat: Add ACL auditor #8557
[workspace]feat: Add ACL auditor #8557
Changes from 7 commits
1020e3a
c1811e6
37dc2f5
7a50119
4db3c82
a45d361
ab939ba
57c023d
86f165f
4fb9841
e044a7e
7aa1d02
29672e0
ae0c809
db5afdd
fa9cdcb
2c29dce
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 36 in src/core/server/utils/acl_auditor.ts
Codecov / codecov/patch
src/core/server/utils/acl_auditor.ts#L36
Check warning on line 75 in src/core/server/utils/acl_auditor.ts
Codecov / codecov/patch
src/core/server/utils/acl_auditor.ts#L75
Check warning on line 49 in src/core/server/utils/client_call_auditor.ts
Codecov / codecov/patch
src/core/server/utils/client_call_auditor.ts#L49
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.
How about add a decrement method?
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 would like to keep the interface simple, increment with a negative value can give the same functionality here actually.
Check warning on line 125 in src/plugins/workspace/server/plugin.ts
Codecov / codecov/patch
src/plugins/workspace/server/plugin.ts#L123-L125
Check warning on line 130 in src/plugins/workspace/server/plugin.ts
Codecov / codecov/patch
src/plugins/workspace/server/plugin.ts#L130
Check warning on line 133 in src/plugins/workspace/server/plugin.ts
Codecov / codecov/patch
src/plugins/workspace/server/plugin.ts#L133
Check warning on line 137 in src/plugins/workspace/server/plugin.ts
Codecov / codecov/patch
src/plugins/workspace/server/plugin.ts#L135-L137