Skip to content

Added rake user admin tasks.#51

Closed
jjasghar wants to merge 1 commit intobasecamp:mainfrom
jjasghar:jjasghar/rake_tasks
Closed

Added rake user admin tasks.#51
jjasghar wants to merge 1 commit intobasecamp:mainfrom
jjasghar:jjasghar/rake_tasks

Conversation

@jjasghar
Copy link
Copy Markdown
Contributor

If you wanted to start using campfire for public projects or events you may need to do some user administration. These are some tasks to help make the changes quickly without going to the rails console.

If you wanted to start using campfire for public projects or events
you may need to do some user administration. These are some tasks
to help make the changes quickly without going to the rails console.

Signed-off-by: JJ Asghar <awesome@ibm.com>
@monorkin
Copy link
Copy Markdown
Contributor

Hey @jjasghar this would be awesome as an in-app feature - the ability to ban someone.
Would you be interested in updating your PR, if you want help with that we can collaborate on it.

Maybe there could be a button to ban a user when you open their profile?
That way you could click on their avatar from any chat message and ban them.
Banning someone would do what you are already doing in this PR.

@jjasghar
Copy link
Copy Markdown
Contributor Author

Oh totally! (but alas, I'm a terrible front-end developer.) I think this is as far as I want to go with this PR, assuming you have CLI access to the instance you can see everything anyway, so that person should "have the rights" to enforce situations when these tasks should be leveraged.

@Lewiscowles1986
Copy link
Copy Markdown

So this is "the invisible sysadmin" type of ban as well right? You dont even need a user in the app, so you also dont catch snitching on minor issues, or get publicly identified as the person banning

@daitangio
Copy link
Copy Markdown

For banning a user, I have done this small GUI addition: https://github.com/daitangio/once-campfire/tree/feature/user-ban-flag
I am a bad graphic too :)
If you want I can setup a pull request.

@Lewiscowles1986
Copy link
Copy Markdown

I think someone should merge this, it's cool

@monorkin
Copy link
Copy Markdown
Contributor

monorkin commented Dec 2, 2025

I think this has become obsolete now that #111 so I'll close this.

@monorkin monorkin closed this Dec 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants