Skip to content
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

FIX: Don't allow editing seeded category security settings #3749

Merged
merged 3 commits into from Sep 11, 2015

Conversation

@discoursebot
Copy link

You've signed the CLA, riking. Thank you! This pull request is ready for review.

permission: Discourse.PermissionType.create({id})});
if (!this.get('category.is_special')) {
this.get('category').addPermission({
group_name: group + "",
Copy link
Contributor

Choose a reason for hiding this comment

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

Why group + ""? Is that to avoid calling toString()?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops, looks like I triggered a format there. Same code as before.

eviltrout added a commit that referenced this pull request Sep 11, 2015
FIX: Don't allow editing seeded category security settings
@eviltrout eviltrout merged commit 4f5d42c into discourse:master Sep 11, 2015
@riking riking deleted the patch-1 branch September 11, 2015 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants