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

chore: return organization's display name and icon in templates#13858

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

Conversation

Emyrk
Copy link
Member

No description provided.

@EmyrkEmyrk changed the titlechore: templates return organization display name and iconchore: return organization's display name and icon in templatesJul 9, 2024
@EmyrkEmyrk requested a review fromf0sselJuly 9, 2024 22:03
LEFT JOIN
visible_users
ON
templates.created_by = visible_users.id
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it possible that the created_by user is not visible by the caller of this? I'm thinking the case where someone is removed from an org after creating a template.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

It is, but we decided awhile back that if you can read the template, you should also see who created it. So grantingread permission on the template gives some implicit permission to reading the user's name + organization information.

f0ssel reacted with thumbs up emoji
@EmyrkEmyrkforce-pushed thestevenmasley/organization_display_name_with_template branch from45bbfca to8cae3e3CompareJuly 10, 2024 14:42
@EmyrkEmyrk merged commit7bb3e0d intomainJul 10, 2024
31 of 32 checks passed
@EmyrkEmyrk deleted the stevenmasley/organization_display_name_with_template branchJuly 10, 2024 15:06
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsJul 10, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@f0sself0sself0ssel approved these changes

Assignees

@EmyrkEmyrk

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@Emyrk@f0ssel

[8]ページ先頭

©2009-2025 Movatter.jp