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

Set post edit flag for mods automatically #1052

Open
sebix opened this issue Mar 1, 2019 · 1 comment
Open

Set post edit flag for mods automatically #1052

sebix opened this issue Mar 1, 2019 · 1 comment
Assignees
Milestone

Comments

@sebix
Copy link
Member

sebix commented Mar 1, 2019

Wish from the moderators: Set the checkbox "Edit first post afterwards" for mod actions by default.

As supporters do not necessarily have edit rights in the destination forum, my idea is to only set this if the user has some global moderation permission (or mod rights at the destination forum - which needs to be done in the client).

@chris34
Copy link
Member

chris34 commented Mar 7, 2019

Wish from the moderators: Set the checkbox "Edit first post afterwards" for mod actions by default.

As supporters do not necessarily have edit rights in the destination forum, my idea is to only set this if the user has some global moderation permission (or mod rights at the destination forum - which needs to be done in the client).

IMO: Just check the checkbox by default in the form and "uncheck" it in clean() of the form, if permissions are missing, as then the target forum is known. Also an message could be shown, if it was unchecked by Inyoka due to missing permissions. Needs no JS on client-side.

@sebix sebix added this to the Backlog milestone Mar 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants