Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: add workspace auditing#3966

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
coadler merged 1 commit intomainfromcolin/workspace-auditing
Sep 10, 2022
Merged

Conversation

coadler
Copy link
Contributor

No description provided.

@coadlercoadler self-assigned thisSep 9, 2022
@coadlercoadlerforce-pushed thecolin/workspace-auditing branch fromd60bec5 to6ac2929CompareSeptember 9, 2022 17:15
@coadlercoadler marked this pull request as ready for reviewSeptember 9, 2022 17:15
@coadlercoadler changed the titlefeat: add template/template version auditingfeat: add workspace auditingSep 9, 2022
Comment on lines +252 to +261
var (
organization = httpmw.OrganizationParam(r)
apiKey = httpmw.APIKey(r)
aReq, commitAudit = audit.InitRequest[database.Workspace](rw, &audit.RequestParams{
Features: api.FeaturesService,
Log: api.Logger,
Request: r,
Action: database.AuditActionCreate,
})
)
Copy link
Member

Choose a reason for hiding this comment

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

It's shorter to not put these in a var block, so I'd rather have them out. What do you think?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

I'm sorta partial to just having a var block at the top of each handler, I think it separates them cleanly from the actual code. Don't feel super strongly though, but I think it should be consistent.

Copy link
Collaborator

@BrunoQuaresmaBrunoQuaresma left a comment

Choose a reason for hiding this comment

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

LGTM

@coadlercoadler merged commit29bac36 intomainSep 10, 2022
@coadlercoadler deleted the colin/workspace-auditing branchSeptember 10, 2022 16:07
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@BrunoQuaresmaBrunoQuaresmaBrunoQuaresma approved these changes

@kylecarbskylecarbskylecarbs approved these changes

Assignees

@coadlercoadler

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@coadler@BrunoQuaresma@kylecarbs

[8]ページ先頭

©2009-2025 Movatter.jp